Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class PredefinedActions

OptimaJet.Workflow.Core.PredefinedActions.PredefinedActions

Contains all predefined actions

public static class PredefinedActions

Inheritance

  • System.Object

Methods

public static Task<bool> CheckAllSubprocessesCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime) #
Check that all subprocesses was completed

Parameters

Name
Type
Description
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

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
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

Type
Description
Boolean
public static bool CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance processInstance, WorkflowRuntime runtime) #
Check that all subprocesses and the parent process reach the same point (completed)

Parameters

Name
Type
Description
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

Type
Description
Boolean
public 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
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

Type
Description
Task<Boolean>
public static Task<int> DeleteAllSubprocessesAsync(ProcessInstance processInstance, WorkflowRuntime runtime) #
Delete all subprocesses for process

Parameters

Name
Type
Description
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

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
processInstance
ProcessInstance
runtime
WorkflowRuntime

Returns

Type
Description
Int32
Count of deleted subprocesses