Skip to main content

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

Class ProcessInstanceExtensions

Inheritance

↳ object

    ↳ ProcessInstanceExtensions

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Plugins.LoopsPlugin

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class ProcessInstanceExtensions

Methods

GetLoopStateAsync(ProcessInstance, string)

Declaration
public static Task<LoopState> GetLoopStateAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task<LoopState>

SetLoopStateAsync(ProcessInstance, string, LoopState)

Declaration
public static Task SetLoopStateAsync(this ProcessInstance processInstance, string loopName, LoopState loopState)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
LoopStateloopState
Returns
TypeDescription
Task

LoopContinueAsync(ProcessInstance, string)

Declaration
public static Task LoopContinueAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task

LoopBreakAsync(ProcessInstance, string)

Declaration
public static Task LoopBreakAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task

GetLoopCurrentCounterValueAsync(ProcessInstance, string)

Declaration
public static Task<LoopCounter> GetLoopCurrentCounterValueAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task<LoopCounter>

GetLoopPrevCounterValueAsync(ProcessInstance, string)

Declaration
public static Task<LoopCounter> GetLoopPrevCounterValueAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task<LoopCounter>

GetLoopNextCounterValueAsync(ProcessInstance, string)

Declaration
public static Task<LoopCounter> GetLoopNextCounterValueAsync(this ProcessInstance processInstance, string loopName)
Parameters
TypeNameDescription
ProcessInstanceprocessInstance
stringloopName
Returns
TypeDescription
Task<LoopCounter>