Roles public class Roles The Roles object groups objects of type Role together. Invocation via the ProcessInstance object. Properties int Count The number of records in the list Methods Role GetRole(string name) Get the record of the given role name Role Create(string rolename) Create a new role. If the role exists, the existing role will be returned void Delete(string rolename) Delete a role Examples This example reads the roles of a process instance. for role in ProcessInstance.Roles: print role.Name This example creates a role. ProcessInstance.Roles.Create("Manager") Role Group