Official Content

This data type represents a functional role within the organization, and it is provided by the Workflow Data Types.

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

Workflow Error Codes


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant