Class ProcessExecutionContext.WorkflowPermission
- Enclosing interface:
- ProcessExecutionContext
These permissions are configured in the configuration of the workflow model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProcessExecutionContext.WorkflowPermissionThe permission to administrate the workflow.static final ProcessExecutionContext.WorkflowPermissionThe permission to allocate work items.static final ProcessExecutionContext.WorkflowPermissionThe permission to create workflows from the workflow publication.static final ProcessExecutionContext.WorkflowPermissionThe permission to deallocate work items.static final ProcessExecutionContext.WorkflowPermissionThe permission to disable a publication.static final ProcessExecutionContext.WorkflowPermissionThe permission to resume a waiting workflow.static final ProcessExecutionContext.WorkflowPermissionThe permission to manage the allocation of work items.static final ProcessExecutionContext.WorkflowPermissionThe permission to reallocate work items.static final ProcessExecutionContext.WorkflowPermissionThe permission to replay a step.static final ProcessExecutionContext.WorkflowPermissionThe permission to terminate workflows.static final ProcessExecutionContext.WorkflowPermissionThe permission to unpublish.static final ProcessExecutionContext.WorkflowPermissionThe permission to visualize workflows.static final ProcessExecutionContext.WorkflowPermissionThe permission to view completed workflows. -
Method Summary
-
Field Details
-
ADMINISTRATE
The permission to administrate the workflow.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - perform specific actions on publications and workflows: replay a step,
(
RESTART_TOKEN), unpublish ((UNPUBLISH), terminate a workflow (TERMINATE_PROCESS).
This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
MANAGE_ALLOCATION
The permission to manage the allocation of work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - allocate a work item (
ALLOCATE), - deallocate a work item (
DEALLOCATE), - reallocate a work item (
REALLOCATE).
This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
CREATE_PROCESS
The permission to create workflows from the workflow publication.This permission allows creating workflows from a publication associated with the workflow model.
This permission can be resolved only for a publication context.
- See Also:
-
VIEW
The permission to visualize workflows.Publications, workflows and work items are visible if at least one of the following actions is allowed:
VIEWADMINISTRATEMANAGE_ALLOCATIONRESTART_TOKENTERMINATE_PROCESSDISABLEUNPUBLISHALLOCATEDEALLOCATEREALLOCATE
So, if the
This permission can be resolved for a publication or a process instance context: useVIEWpermission is disabled, the permissions associated with these actions will be automatically evaluated until one of them is enabled, even if specific permissions are defined.ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
-
VIEW_COMPLETED_WORKFLOW
The permission to view completed workflows.This permission allows viewing completed workflows for the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
VIEW_COMPLETED_WORKFLOWpermission is disabled, the permissionVIEWwill be automatically evaluated, even if specific permissions are defined.This permission can only be resolved for a process instance context.
- Since:
- 5.4.1
- See Also:
-
ALLOCATE
The permission to allocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - allocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
ALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
DEALLOCATE
The permission to deallocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - deallocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
DEALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
REALLOCATE
The permission to reallocate work items.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - reallocate the work items of the workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
REALLOCATEpermission is disabled, the permissionMANAGE_ALLOCATIONwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
RESTART_TOKEN
The permission to replay a step.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - replay the current step of a workflow of the workflow model.
So, if the
RESTART_TOKENpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
FORCE_RESUME_PROCESS
The permission to resume a waiting workflow.This permission allows:
- visualizing the workflows associated with the workflow model (
VIEW), - forcing resuming waiting workflows of the workflow model.
So, if the
FORCE_RESUME_PROCESSpermission is disabled, theADMINISTRATEpermission will be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualizing the workflows associated with the workflow model (
-
UNPUBLISH
The permission to unpublish.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - unpublish a publication of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
UNPUBLISHpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
DISABLE
The permission to disable a publication.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - disable a publication of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
DISABLEpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
TERMINATE_PROCESS
The permission to terminate workflows.This permission allows to:
- visualize the workflows associated with the workflow model (
VIEW), - terminate and clean workflows of the workflow model.
This action is allowed when at least one of the following actions is allowed:
So, if the
TERMINATE_PROCESSpermission is disabled, the permissionADMINISTRATEwill be automatically evaluated, even if specific permissions are defined.This permission can be resolved for a publication or a process instance context: use
ActionPermissionsOnWorkflowContext.isOnProcessInstance()to check the resolution context.- See Also:
- visualize the workflows associated with the workflow model (
-
-
Method Details
-
getLabel
-