8.6

Table Of Contents
Name Description
sure no other process is accessing the Data Repository.
Version Returns the version of the DLL library used by the
Repository.
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117).
JavaScript
repoObject.AddGroup("Users", '["FirstName", "LastName"]');
repoObject.AddGroup("Users", '');
VB Script
repoObject.AddGroup "Users", "[""FirstName"", ""LastName""]"
repoObject.AddGroup "Users", ""
AddKey
Adds key KeyName to group GroupName. KeyName must not already exist in the specified
group. Note that this method only adds a key name to the group, not a key value. See
AddValue() for information on how to set a value for a key.
Syntax
AddKey(GroupName: string, KeyName: string)
Page 122