2021.2

Table Of Contents
Examples
In each of these examples, the object repoObject is deemed having been obtained through a
call to the COM object "RepositoryLib.WorkflowRepository" (see "Obtaining an instance of the
Repository Object" on page176).
JavaScript
var repoObject = new ActiveXObject
("RepositoryLib.WorkflowRepository");
var myList = JSON.parse(repoObject.ListKeys("Internal"));
for (var Property in myList) {
/* Log all key names for group Users to the console */
Watch.Log(Property,2);
}
Sample return value
'{"ID": "meta", "FirstName": "string", "LastName": "string", "email": "string", "DateC": "meta",
"DateM": "meta"}'
As shown in the sample, the value associated with each key name is actually the data type for
that key. Only two values are currently possible: string and meta, where meta denotes an
internally generated key.
RemoveGroup
Deletes the group named GroupName, along with all its keysets and keys.
Syntax
RemoveGroup(GroupName: string)
Examples
In each of these examples, the object repoObject is deemed having been obtained through a
call to the COM object "RepositoryLib.WorkflowRepository" (see "Obtaining an instance of the
Repository Object" on page176).
JavaScript
repoObject.RemoveGroup("Users");
Page 190