Class PredefinedActions
OptimaJet.Workflow.Core.PredefinedActions.PredefinedActions
Contains all predefined actions
Namespace: OptimaJet.Workflow.Core.PredefinedActions
public static class PredefinedActionsInheritance
- System.Object
Methods
public static Task<bool> CheckAllSubprocessesCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime) #Check that all subprocesses was completed
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Task<Boolean>true - if there are no active suprocesses
public static bool CheckAllSubprocessesCompleted(ProcessInstance processInstance, WorkflowRuntime runtime) #Check that all subprocesses was completed
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Booleanpublic static bool CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance processInstance, WorkflowRuntime runtime) #Check that all subprocesses and the parent process reach the same point (completed)
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Booleanpublic static Task<bool> CheckAllSubprocessesAndParentProcessCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime) #Check that all subprocesses and the parent process reach the same point (completed)
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Task<Boolean>public static Task<int> DeleteAllSubprocessesAsync(ProcessInstance processInstance, WorkflowRuntime runtime) #Delete all subprocesses for process
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Task<Int32>Count of deleted subprocesses
public static int DeleteAllSubprocesses(ProcessInstance processInstance, WorkflowRuntime runtime) #Delete all subprocesses for process
Parameters
Name
Type
Description
processInstanceProcessInstanceruntimeWorkflowRuntimeReturns
Type
Description
Int32Count of deleted subprocesses