2018.1

Table Of Contents
Name Description
GetKeySets
Retrieves Keys values in GroupName for keysets that
match Condition. When an asterisk * is passed as the
Keys parameter, all keys are retrieved. When Condition
is left empty, all keysets are retrieved.
RemoveKeySets
Deletes all keysets in GroupName that match
Condition. The condition is specified using basic SQL
WHERE syntax. Condition may be left empty, in which
case all keysets in GroupName are deleted. The
method returns the number of keysets that were deleted.
RemoveKeySetByID Deletes the keyset whose ID equals ID from
GroupName. Returns 1 if successful, 0 otherwise.
Note that this method is functionally equivalent to using
RemoveKeySets() with its Condition parameter set to
"ID=ID".
AddGroup
Creates a group named GroupName and optionally creates keys listed in keyNames. The
keyNames parameter may be empty.
Syntax
AddGroup(GroupName: string, keyNames: JSONStringArray)
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 page153).
JavaScript
repoObject.AddGroup("Users", '["FirstName", "LastName"]');
repoObject.AddGroup("Users", '');
Page 158