PolicyRolesBlock
This block allows the user to select a role or a group.
Properties
type
A block which determines a role for the user.
PolicyRolesBlock (Can't be changed).
tag
Unique name for the logic block.
choose_role.
permissions
Which entity has rights to interact at this part of the workflow.
Installer.
defaultActive
Shows whether this block is active at this time and whether it needs to be shown.
Checked or unchecked.
dependencies
Establish workflow dependancies that need to be completed prior.
Select the appropriate block from the dropdown.
Deprecated
roles
Available roles from which the user can choose.
Select the appropriate roles from the dropdown.
Available Roles
list of roles for selected user
Checked or unchecked.
·Available Groups
list of groups for selected user
Checked or unchecked.
Note: ‘Available Groups’ option takes priority and thus, when set, causes the system to ignore ‘Available Roles’.
Note: Setting the Permissions property to ‘No Role’ limits the visibility of this block to those users which have not yet selected a role or a group.
RefreshEvents are used to refreshing the UI, instead of "dependencies" property.
UI Properties
Title
Provide the a title for the role selector.
Description
Provide a description on the role selection.
Events
Event Type
-
Input Event
Output Event
-
Type of the event - determines whether this is ingress or egress event for the current block.
Source
"source"
Block tag(string)
"block_tag"
The block which initiates the event.
Target
"target"
Block tag(string)
"block_tag"
The block which receives the event.
Output Event
"output"
Event name(string)
"event_name"
Action or issue that caused the event.
Input Event
"input"
Event name(string)
"event_name"
Action which will be triggered by the event.
Event Actor
"actor"
Event Initiator
Document Owner
Document Issuer
""
"owner"
"issuer"
Allows to transfer control of the block (execution context) to another user. Empty field leaves control at the Event Initiator.
Disabled
"disabled"
True/False
true/false
Allows to disable the event without deleting it.
To know more information about events, please look at .
API Parameters
GET
blockType:
Path Parameters
roles*
array
List of available roles
uiMetaData*
String
{}
POST
blockType:
Path Parameters
role*
String
Last updated