WorkflowRole Data Type

Official Content
This documentation is valid for:

Description

 Represents a functional role within the organization.

Properties

Property Type Access Description
Id WorkflowRoleId Read Identifier
Name WorkflowName Read Name
hasParent Boolean Read Indicates if it is subordinated to another role
hasChildren Boolean Read Indicates if it has subordinated roles
Parent WorkflowRole Read Parent Role
Users Collection (WorkflowUser) Read Associated users
Children Collection (WorkflowRole) Read Subordinated roles
Error WorflowError Read Error
GUID WorflowGUID Read GUID

Methods

  • AddChild

 This method allows subordinating the specified role to the current role.

 AddChild (child)

Name Type Movement Description
child WorkflowRole Input Role to be subordinated

 

  •  RemoveChild

This method allows removing the subordinating relationship between the specified role and the current role.

RemoveChild (child)

Name Type Movement Description
 child WorkflowRole Input Role with which the subordinating relationship will be removed

 

  • AddUser

 Adds the specified user to the collection of users associated to the role.

 AddUser (user)

Name Type Movement Description
user WorkflowUser Input User to be associated to the role

 

  • RemoveUser

 Removes the specified user from the collection of users associated to the role.

 RemoveUser (user)

Name Type Movement Description
user WorkflowUser Input User to be dissociated from the role

See Also


 





Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.