Class ProcessExecutionContext.WorkflowPermission
- Enclosing interface:
- ProcessExecutionContext
These permissions are configured in the configuration of the workflow model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProcessExecutionContext.WorkflowPermission
The permission to administrate the workflow.static final ProcessExecutionContext.WorkflowPermission
The permission to allocate work items.static final ProcessExecutionContext.WorkflowPermission
The permission to create workflows from the workflow publication.static final ProcessExecutionContext.WorkflowPermission
The permission to deallocate work items.static final ProcessExecutionContext.WorkflowPermission
The permission to disable a publication.static final ProcessExecutionContext.WorkflowPermission
The permission to resume a waiting workflow.static final ProcessExecutionContext.WorkflowPermission
The permission to manage the allocation of work items.static final ProcessExecutionContext.WorkflowPermission
The permission to reallocate work items.static final ProcessExecutionContext.WorkflowPermission
The permission to replay a step.static final ProcessExecutionContext.WorkflowPermission
The permission to terminate workflows.static final ProcessExecutionContext.WorkflowPermission
The permission to unpublish.static final ProcessExecutionContext.WorkflowPermission
The permission to visualize workflows.static final ProcessExecutionContext.WorkflowPermission
The 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:
VIEW
ADMINISTRATE
MANAGE_ALLOCATION
RESTART_TOKEN
TERMINATE_PROCESS
DISABLE
UNPUBLISH
ALLOCATE
DEALLOCATE
REALLOCATE
So, if the
This permission can be resolved for a publication or a process instance context: useVIEW
permission 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_WORKFLOW
permission is disabled, the permissionVIEW
will 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
ALLOCATE
permission is disabled, the permissionMANAGE_ALLOCATION
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:
- 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
DEALLOCATE
permission is disabled, the permissionMANAGE_ALLOCATION
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:
- 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
REALLOCATE
permission is disabled, the permissionMANAGE_ALLOCATION
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:
- 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_TOKEN
permission is disabled, the permissionADMINISTRATE
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:
- 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_PROCESS
permission is disabled, theADMINISTRATE
permission 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
UNPUBLISH
permission is disabled, the permissionADMINISTRATE
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:
- 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
DISABLE
permission is disabled, the permissionADMINISTRATE
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:
- 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_PROCESS
permission is disabled, the permissionADMINISTRATE
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:
- visualize the workflows associated with the workflow model (
-
-
Method Details
-
getLabel
-