Class WorkflowInstanceAction
- java.lang.Object
-
- io.nflow.engine.model.ModelObject
-
- io.nflow.engine.workflow.instance.WorkflowInstanceAction
-
public class WorkflowInstanceAction extends ModelObject
An execution of a workflow instance state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowInstanceAction.BuilderThe builder for a workflow instance action.static classWorkflowInstanceAction.WorkflowActionTypeDescribes the trigger for the action.
-
Field Summary
Fields Modifier and Type Field Description org.joda.time.DateTimeexecutionEndThe end time of the execution of the state.org.joda.time.DateTimeexecutionStartThe start time of the execution of the state.intexecutorIdThe id for executor that processed this state.longidThe action id (generated by database).intretryNoThe retry attempt number.StringstateThe workflow state before the execution.StringstateTextThe description of the action taken in this state.WorkflowInstanceAction.WorkflowActionTypetypeThe type of action.Map<String,String>updatedStateVariablesState variables that were updated in this state.longworkflowInstanceIdThe workflow instance identifier.
-
-
-
Field Detail
-
id
public long id
The action id (generated by database).
-
workflowInstanceId
public final long workflowInstanceId
The workflow instance identifier.
-
executorId
public final int executorId
The id for executor that processed this state.
-
type
public final WorkflowInstanceAction.WorkflowActionType type
The type of action.
-
state
public final String state
The workflow state before the execution.
-
stateText
public final String stateText
The description of the action taken in this state.
-
updatedStateVariables
public final Map<String,String> updatedStateVariables
State variables that were updated in this state.
-
retryNo
public final int retryNo
The retry attempt number. Zero when the state is executed for the first time.
-
executionStart
public final org.joda.time.DateTime executionStart
The start time of the execution of the state.
-
executionEnd
public final org.joda.time.DateTime executionEnd
The end time of the execution of the state.
-
-