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
Syntaxpublic static class PredefinedActions
Methods
CheckAllSubprocessesCompletedAsync(ProcessInstance, WorkflowRuntime)
Check that all subprocesses was completed
Declarationpublic static Task<bool> CheckAllSubprocessesCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
Task<bool> | true - if there are no active suprocesses |
CheckAllSubprocessesCompleted(ProcessInstance, WorkflowRuntime)
Check that all subprocesses was completed
Declarationpublic static bool CheckAllSubprocessesCompleted(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
bool |
CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance, WorkflowRuntime)
Check that all subprocesses and the parent process reach the same point (completed)
Declarationpublic static bool CheckAllSubprocessesAndParentProcessCompleted(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
bool |
CheckAllSubprocessesAndParentProcessCompletedAsync(ProcessInstance, WorkflowRuntime)
Check that all subprocesses and the parent process reach the same point (completed)
Declarationpublic static Task<bool> CheckAllSubprocessesAndParentProcessCompletedAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
Task<bool> |
DeleteAllSubprocessesAsync(ProcessInstance, WorkflowRuntime)
Delete all subprocesses for process
Declarationpublic static Task<int> DeleteAllSubprocessesAsync(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
Task<int> | Count of deleted subprocesses |
DeleteAllSubprocesses(ProcessInstance, WorkflowRuntime)
Delete all subprocesses for process
Declarationpublic static int DeleteAllSubprocesses(ProcessInstance processInstance, WorkflowRuntime runtime)
Type | Name | Description |
---|---|---|
ProcessInstance | processInstance | |
WorkflowRuntime | runtime |
Type | Description |
---|---|
int | Count of deleted subprocesses |