2022.2

Table Of Contents
Sample return value
The method returns a JSONIntegerArray containing the ID's of all keysets inserted into GroupName:
'[131,132]'
AddValue
Creates a new KeySet by assigning Value to the key KeyName in Group GroupName. Note that
KeyName must exist in GroupName, otherwise an error is raised. See "AddKey" on page150 for
information on adding a key to a group. Upon successful completion, the method returns the ID of the
newly created KeySet.
Syntax
AddValue(GroupName: string, KeyName: string, Value: string): integer64
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
repoObject.AddValue("Users", "LastName", "Smith");
VB Script
repoObject.AddValue "Users", "LastName", "Smith"
CheckRepository
Verifies the integrity of the repository and recovers unused space left by deleted keysets. Similar to
packing a database, the operation is non-destructive but it does require exclusive access to the Repos-
itory. You should therefore only perform this operation when you know for sure no other process is
accessing the Data Repository.
Syntax
CheckRepository()
ClearAllData
Delete all keysets in all groups, while retaining the existing key structure.
Syntax
ClearAllData()
Page 152