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 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).

JavaScript​

repoObject.AddValue("Users", "LastName", "Smith");

VB Script​​​

repoObject.AddValue "Users", "LastName", "Smith"