Represents a functional role within the organization.
| 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 |
This method allows subordinating the specified role to the current role.
AddChild (child)
| Name |
Type |
Movement |
Description |
| child |
WorkflowRole |
Input |
Role to be subordinated |
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 |
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 |
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 |