Uses of Interface
de.espirit.firstspirit.workflow.WorkflowAgent.WorkflowProcessContext
-
Uses of WorkflowAgent.WorkflowProcessContext in de.espirit.firstspirit.workflow
Modifier and TypeMethodDescriptionWorkflowAgent.process
(@NotNull Task task, @NotNull Transition transition) Processes the nextactivity
of the given task specified by given transition, wherefore given transition must be one of the outgoing transitions of the currenttask state
(task
.getTaskState()
.getModelState()
.getTargetTransitions()
).
The returned context represents the nextactivity
of the belongingworkflow model
providing means toprocess
the nexttransition
.
If the next activity has ascript
, the activity will be processed automatically and the returned context provides only access to the task which is already in the nextstate
.@NotNull WorkflowAgent.WorkflowProcessContext
WorkflowAgent.startWorkflow
(@NotNull Workflow workflow) Starts a new workflow processwithout context
.@NotNull WorkflowAgent.WorkflowProcessContext
WorkflowAgent.startWorkflow
(@NotNull Workflow workflow, @Nullable IDProvider element) Starts a new workflow process which context is based on the given element (mode isTask.Mode.ENTITY
, if given element is aDataset
, otherwiseTask.Mode.STORE_ELEMENT
).