Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class PredefinedActions

Contains all predefined actions

Inheritance

↳ object

    ↳ PredefinedActions

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.PredefinedActions

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class PredefinedActions

Methods

CheckAllSubprocessesCompletedAsync(ProcessInstance, WorkflowRuntime)

Check that all subprocesses was completed

Declaration
public static Task<bool> CheckAllSubprocessesCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
Task<bool>true - if there are no active suprocesses

CheckAllSubprocessesCompleted(ProcessInstance, WorkflowRuntime)

Check that all subprocesses was completed

Declaration
public static bool CheckAllSubprocessesCompleted(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
bool

CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance, WorkflowRuntime)

Check that all subprocesses and the parent process reach the same point (completed)

Declaration
public static bool CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
bool

CheckAllSubprocessesAndParentProcessCompletedAsync(ProcessInstance, WorkflowRuntime)

Check that all subprocesses and the parent process reach the same point (completed)

Declaration
public static Task<bool> CheckAllSubprocessesAndParentProcessCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
Task<bool>

DeleteAllSubprocessesAsync(ProcessInstance, WorkflowRuntime)

Delete all subprocesses for process

Declaration
public static Task<int> DeleteAllSubprocessesAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
Task<int>Count of deleted subprocesses

DeleteAllSubprocesses(ProcessInstance, WorkflowRuntime)

Delete all subprocesses for process

Declaration
public static int DeleteAllSubprocesses(ProcessInstance processInstance, WorkflowRuntime runtime)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
Returns
TypeDescription
intCount of deleted subprocesses