Skip to main content

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

Class CodeActionsInvoker

Provides invoke of code actions by name

Inheritance

↳ object

    ↳ CodeActionsInvoker

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.CodeActions

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class CodeActionsInvoker

Methods

AddCompilledType(Type)

Declaration
public void AddCompilledType(Type compilledType)
Parameters
TypeNameDescription
TypecompilledType

InvokeCondition(string, ProcessInstance, WorkflowRuntime, string)

Declaration
public bool InvokeCondition(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter
Returns
TypeDescription
bool

InvokeConditionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

Declaration
public Task<bool> InvokeConditionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

InvokeAction(string, ProcessInstance, WorkflowRuntime, string)

Declaration
public void InvokeAction(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter

InvokeActionAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

Declaration
public Task InvokeActionAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task

InvokeRuleGet(string, ProcessInstance, WorkflowRuntime, string)

Declaration
public IEnumerable<string> InvokeRuleGet(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter
Returns
TypeDescription
IEnumerable<string>

InvokeRuleGetAsync(string, ProcessInstance, WorkflowRuntime, string, CancellationToken)

Declaration
public Task<IEnumerable<string>> InvokeRuleGetAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string parameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<IEnumerable<string>>

InvokeRuleCheck(string, ProcessInstance, WorkflowRuntime, string, string)

Declaration
public bool InvokeRuleCheck(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string parameter)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringparameter
Returns
TypeDescription
bool

InvokeRuleCheckAsync(string, ProcessInstance, WorkflowRuntime, string, string, CancellationToken)

Declaration
public Task<bool> InvokeRuleCheckAsync(string name, ProcessInstance processInstance, WorkflowRuntime runtime, string identityId, string parameter, CancellationToken token)
Parameters
TypeNameDescription
stringname
ProcessInstanceprocessInstance
WorkflowRuntimeruntime
stringidentityId
stringparameter
CancellationTokentoken
Returns
TypeDescription
Task<bool>

ExistsCondition(string)

Declaration
public bool ExistsCondition(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

ExistsAction(string)

Declaration
public bool ExistsAction(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

ExistsRuleGet(string)

Declaration
public bool ExistsRuleGet(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

ExistsRuleCheck(string)

Declaration
public bool ExistsRuleCheck(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

IsConditionAsync(string)

Declaration
public bool IsConditionAsync(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

IsActionAsync(string)

Declaration
public bool IsActionAsync(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

IsGetRuleAsync(string)

Declaration
public bool IsGetRuleAsync(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

IsCheckRuleAsync(string)

Declaration
public bool IsCheckRuleAsync(string name)
Parameters
TypeNameDescription
stringname
Returns
TypeDescription
bool

Extension Methods