RenameKey

Renames key oldName to newName in group GroupName. While this operation has no impact on the data stored in that Group, it does require any plugin and/or script that uses oldName to be modified to refer to newName.

Syntax ​

RenameKey(GroupName: string, oldName: string, newName: string)

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.RenameKey("Users", "LastName", "SurName");

VB Script​​

repoObject.RenameGroup "Users", "LastName", "SurName"