Skip to main content

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

Class WorkflowMethods

Set of methods for convert plugin actions to workflow actions

Inheritance

↳ object

    ↳ WorkflowMethods

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Plugins

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class WorkflowMethods

Methods

SyncAction(Action<ProcessInstance, WorkflowRuntime, Dictionary<string, string>>)

Converts plugin action to workflow action

Declaration
public static Action<string, ProcessInstance, WorkflowRuntime, string> SyncAction(Action<ProcessInstance, WorkflowRuntime, Dictionary<string, string>> action)
Parameters
TypeNameDescription
Action<ProcessInstance, WorkflowRuntime, Dictionary<string, string>>actionPlugin action
Returns
TypeDescription
Action<string, ProcessInstance, WorkflowRuntime, string>

SyncCondition(Func<ProcessInstance, WorkflowRuntime, Dictionary<string, string>, bool>)

Converts plugin condition to workflow condition

Declaration
public static Func<string, ProcessInstance, WorkflowRuntime, string, bool> SyncCondition(Func<ProcessInstance, WorkflowRuntime, Dictionary<string, string>, bool> condition)
Parameters
TypeNameDescription
Func<ProcessInstance, WorkflowRuntime, Dictionary<string, string>, bool>conditionPlugin condition
Returns
TypeDescription
Func<string, ProcessInstance, WorkflowRuntime, string, bool>

GetFormat(Func<List<CodeActionParameterDefinition>>)

Converts plugin format function tp workflow format function

Declaration
public static Func<string, List<CodeActionParameterDefinition>> GetFormat(Func<List<CodeActionParameterDefinition>> getFormat)
Parameters
TypeNameDescription
Func<List<CodeActionParameterDefinition>>getFormatFormat function
Returns
TypeDescription
Func<string, List<CodeActionParameterDefinition>>