RenameGroup

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

Syntax ​

RenameGroup(oldName, 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.RenameGroup("Users", "Customers");

VB Script

repoObject.RenameGroup "Users", "Customers"