Roles

The Roles node is used to create, edit, delete or save K2 roles. Roles are essentially “groups” defined in K2, and are most often used for task allocation logic. Sometimes it is not possible to define Groups in Active Directory or SharePoint for task allocation (perhaps the AD or SharePoint administrators are unwilling to define groups for other applications’ requirements), or sometimes groups may contain users authenticated through different mechanisms. In these cases, K2 provides an alternative approach known as Roles. K2 developers can use these Roles in the K2 workflow design tools as the destination when configuring a User Task step in a workflow. Roles are defined and stored on a K2 server, and the Role membership can be maintained by administrators without affecting the workflow design. Roles can contain one or more users or groups from one or more Security Labels.