Class QueryWorkflowInstances
- java.lang.Object
-
- io.nflow.engine.model.ModelObject
-
- io.nflow.engine.workflow.instance.QueryWorkflowInstances
-
public class QueryWorkflowInstances extends ModelObject
Parameters for workflow instance query.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryWorkflowInstances.BuilderBuilder for workflow instance queries.
-
Field Summary
Fields Modifier and Type Field Description StringbusinessKeyExternal business key.StringexternalIdExternal identifier.List<Long>idsWorkflow instance identifiers.booleanincludeActionsSetting this to true will make the query return also workflow actions.booleanincludeActionStateVariablesSetting this to true will make the query return also the updated state variables for workflow actions.booleanincludeChildWorkflowsSetting this to true will make the query return also the created child workflow instance IDs.booleanincludeCurrentStateVariablesSetting this to true will make the query return also the current state variables for the workflow.LongmaxActionsThe maximum number of actions to be returned for each instance by the query.LongmaxResultsThe maximum number of instances to be returned by the query.LongparentActionIdParent workflow action id.LongparentWorkflowIdParent workflow instance id.booleanqueryArchiveIf true, query also the archive tables if not enough results are found from the main tables.List<String>statesWorkflow instance states.StringstateVariableKeyState variable key.StringstateVariableValueState variable value.List<WorkflowInstance.WorkflowInstanceStatus>statusesWorkflow instance statuses.List<String>typesWorkflow instance definition type.
-
-
-
Field Detail
-
parentWorkflowId
public Long parentWorkflowId
Parent workflow instance id.
-
parentActionId
public Long parentActionId
Parent workflow action id.
-
statuses
public final List<WorkflowInstance.WorkflowInstanceStatus> statuses
Workflow instance statuses.
-
businessKey
public final String businessKey
External business key.
-
externalId
public final String externalId
External identifier.
-
stateVariableKey
public final String stateVariableKey
State variable key.
-
stateVariableValue
public final String stateVariableValue
State variable value.
-
includeActions
public final boolean includeActions
Setting this to true will make the query return also workflow actions.
-
includeCurrentStateVariables
public final boolean includeCurrentStateVariables
Setting this to true will make the query return also the current state variables for the workflow.
-
includeActionStateVariables
public final boolean includeActionStateVariables
Setting this to true will make the query return also the updated state variables for workflow actions.
-
includeChildWorkflows
public final boolean includeChildWorkflows
Setting this to true will make the query return also the created child workflow instance IDs.
-
maxResults
public final Long maxResults
The maximum number of instances to be returned by the query. If null, uses default value configured for the nFlow engine. The maximum value may also be limited by nFlow engine configuration.
-
maxActions
public final Long maxActions
The maximum number of actions to be returned for each instance by the query. If null, uses default value configured for the nFlow engine. The maximum value may also be limited by nFlow engine configuration.
-
queryArchive
public final boolean queryArchive
If true, query also the archive tables if not enough results are found from the main tables.
-
-