2022.2

Table Of Contents
RemoveKeySetByID
Deletes the keyset whose ID equals ID from GroupName. Returns 1 if successful, 0 otherwise.
Note: This method is functionally equivalent to using "RemoveKeySets" below with its Condition
parameter set to "ID=ID".
Syntax
RemoveKeySetByID(GroupName: string, ID: integer): integer
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147).
JavaScript
/* both methods perform the same task */
repoObject.RemoveKeySetByID("Users", 10);
repoObject.RemoveKeySets("Users", "ID=10");
VB Script
/* both methods perform the same task */
repoObject.RemoveKeySetByID "Users", 10
repoObject.RemoveKeySets "Users", "ID=10"
RemoveKeySets
Deletes all keysets in GroupName that match Condition. The condition is specified using basic SQL
WHERE syntax. The method returns the number of keysets that were deleted.
When passing 'ID' as the Condition, all keysets in GroupName will be deleted.
Syntax
RemoveKeySets(GroupName: string, Condition: string): integer
Examples
Basic 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147).
Page 158