Skip to main content

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

Class ProcessInstance

Represent a instance of a specific process

Inheritance

↳ object

    ↳ ProcessInstance

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Model

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public sealed class ProcessInstance

Properties

AssignmentManager

Manager of work with tasks within the current process

Declaration
public IAssignmentManager AssignmentManager { get; }
Property value
TypeDescription
IAssignmentManager

ProcessId

Returns Id of the process

Declaration
public Guid ProcessId { get; set; }
Property value
TypeDescription
Guid

ParentProcessId

Returns Id of the parent process if this process is subprocess (parallel branch)

Declaration
public Guid? ParentProcessId { get; set; }
Property value
TypeDescription
Guid?

RootProcessId

Returns Id of the root process in the subprocesses hierarchy if this process is subprocess (parallel branch)

Declaration
public Guid RootProcessId { get; set; }
Property value
TypeDescription
Guid

SchemeId

Returns Id of the scheme of the process

Declaration
public Guid SchemeId { get; set; }
Property value
TypeDescription
Guid

PreviousState

Returns the name of the state which was initial for last executed direct transition TransitionDefinition.From

Declaration
public string PreviousState { get; set; }
Property value
TypeDescription
string

ExecutedTimer

Returns the name of the currently executing timer, filled if the transition process was initiated by a timer

Declaration
public string ExecutedTimer { get; set; }
Property value
TypeDescription
string

PreviousStateForDirect

Returns the name of the state which was initial for last executed transition marked as direct TransitionDefinition.From

Declaration
public string PreviousStateForDirect { get; set; }
Property value
TypeDescription
string

PreviousStateForReverse

Returns the name of the state which was initial for last executed transition marked as reverse TransitionDefinition.From

Declaration
public string PreviousStateForReverse { get; set; }
Property value
TypeDescription
string

PreviousActivityName

Returns the name of the activity which was initial for last executed transition TransitionDefinition.From

Declaration
public string PreviousActivityName { get; set; }
Property value
TypeDescription
string

PreviousActivityForDirectName

Returns the name of the activity which was initial for last executed transition marked as direct TransitionDefinition.From

Declaration
public string PreviousActivityForDirectName { get; set; }
Property value
TypeDescription
string

PreviousActivityForReverseName

Returns the name of the activity which was initial for last executed transition marked as reverse TransitionDefinition.From

Declaration
public string PreviousActivityForReverseName { get; set; }
Property value
TypeDescription
string

CurrentCommand

Returns the name of the currently executing command, filled if the transition process was initiated by a command

Declaration
public string CurrentCommand { get; set; }
Property value
TypeDescription
string

IdentityId

Returns the user id which execute a command or set a state

Declaration
public string IdentityId { get; set; }
Property value
TypeDescription
string

ImpersonatedIdentityId

Returns the user id for whom executes a command or sets a state

Declaration
public string ImpersonatedIdentityId { get; set; }
Property value
TypeDescription
string

ExecutedActivityState

Returns the name of the state which is final for currently executing transition TransitionDefinition.To

Declaration
public string ExecutedActivityState { get; set; }
Property value
TypeDescription
string

ExecutedActivity

Returns the activity which is final for currently executing transition TransitionDefinition.To

Declaration
public ActivityDefinition ExecutedActivity { get; set; }
Property value
TypeDescription
ActivityDefinition

ExecutedTransition

Returns the currently executing transition TransitionDefinition.To

Declaration
public TransitionDefinition ExecutedTransition { get; set; }
Property value
TypeDescription
TransitionDefinition

CurrentActivityName

Returns the name of the current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public string CurrentActivityName { get; set; }
Property value
TypeDescription
string

IdentityIds

Returns the list of user ids which have the ability to execute a transition which leads to set executed activity. (which have the ability to execute current transition) Only available in pre-execution mode

Declaration
public List<string> IdentityIds { get; set; }
Property value
TypeDescription
List<string>

IdentityIdsForCurrentActivity

Returns the list of user ids which have the ability to execute a transition which leads to set executed activity. (which have the ability to execute current transition) The main difference between this property and IdentityIds, is that it takes into account only the last transition that leads into current activity Only available in pre-execution mode

Declaration
public List<string> IdentityIdsForCurrentActivity { get; set; }
Property value
TypeDescription
List<string>

SchemeCode

Returns the code of the scheme of the process

Declaration
public string SchemeCode { get; set; }
Property value
TypeDescription
string

CurrentState

Returns the name of the current state. State which was final for last executed transition TransitionDefinition.From

Declaration
public string CurrentState { get; set; }
Property value
TypeDescription
string

TenantId

Returns the tenant's identifier

Declaration
public string TenantId { get; }
Property value
TypeDescription
string

StartTransitionalProcessActivity

Returns the name of the activity from which the transitional process was started.

Declaration
public string StartTransitionalProcessActivity { get; set; }
Property value
TypeDescription
string

CurrentActivity

Returns the name of the current activity. Activity which was final for last executed transition TransitionDefinition.From

Declaration
public ActivityDefinition CurrentActivity { get; }
Property value
TypeDescription
ActivityDefinition

IsPreExecution

Returns true within pre-execution mode

Declaration
public bool IsPreExecution { get; set; }
Property value
TypeDescription
bool

SubprocessName

If the process is a subprocess, its name will be here

Declaration
public string SubprocessName { get; set; }
Property value
TypeDescription
string

CreationDate

Date of the process creation

Declaration
public DateTime CreationDate { get; set; }
Property value
TypeDescription
DateTime

LastTransitionDate

Date of the last transition execution

Declaration
public DateTime? LastTransitionDate { get; set; }
Property value
TypeDescription
DateTime?

StartTransitionTime

Date of the start transition execution

Declaration
public DateTime? StartTransitionTime { get; set; }
Property value
TypeDescription
DateTime?

LogEnabled

The flag indicates that this process is logging

Declaration
public bool LogEnabled { get; set; }
Property value
TypeDescription
bool

ActionParameterBeforeSubstitution

Action parameter before substitution

Declaration
public string ActionParameterBeforeSubstitution { get; set; }
Property value
TypeDescription
string

CalendarName

Work calendar name

Declaration
public string CalendarName { get; set; }
Property value
TypeDescription
string

ExternalParametersProvider

Returns the external parameter provider IWorkflowExternalParametersProvider

Declaration
public IWorkflowExternalParametersProvider ExternalParametersProvider { get; }
Property value
TypeDescription
IWorkflowExternalParametersProvider

ProcessScheme

Returns parsed scheme of the process ProcessDefinition

Declaration
public ProcessDefinition ProcessScheme { get; set; }
Property value
TypeDescription
ProcessDefinition

IsSchemeObsolete

Sign that the scheme of the process is obsolete

Declaration
public bool IsSchemeObsolete { get; }
Property value
TypeDescription
bool

IsSubprocess

Returns true if the process is subprocess

Declaration
public bool IsSubprocess { get; }
Property value
TypeDescription
bool

IsDeterminingParametersChanged

Sign that parameters for creating scheme of the process was changed

Declaration
public bool IsDeterminingParametersChanged { get; }
Property value
TypeDescription
bool

ProcessParameters

Returns the list of process parameters ParameterDefinitionWithValue

Declaration
public ParametersCollection ProcessParameters { get; }
Property value
TypeDescription
ParametersCollection

MergedSubprocessParameters

Returns the list of process parameters ParameterDefinitionWithValue from a subprocess which was merged with current process.

Declaration
public ParametersCollection MergedSubprocessParameters { get; }
Property value
TypeDescription
ParametersCollection

this[string, ParameterPurpose]

Get and set a parameter

Declaration
public dynamic this[string name, ParameterPurpose purposeIfMissing = ParameterPurpose.Temporary] { get; set; }
Parameters
TypeNameDescription
stringnameParameter name
ParameterPurposepurposeIfMissingPurpose if it is missing <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref>
Property value
TypeDescription
dynamic

Localizer

Provides localized strings. For search used sources from runtime owner and ProcessInstance.ProcessScheme

Declaration
public Localizer Localizer { get; }
Property value
TypeDescription
Localizer

Methods

Create(WorkflowRuntime, Guid, Guid, ProcessDefinition, bool, bool, string, string)

Create ProcessInstance object

Declaration
public static ProcessInstance Create(WorkflowRuntime runtime, Guid schemeId, Guid processId, ProcessDefinition processScheme, bool isSchemeObsolete, bool isDeterminingParametersChanged, string tenantId = null, string calendarName = null)
Parameters
TypeNameDescription
WorkflowRuntimeruntimeThe instance of the runtime
GuidschemeIdId of the scheme of the process
GuidprocessIdId of the process
ProcessDefinitionprocessSchemeParsed scheme of the process
boolisSchemeObsoleteSign that the scheme of the process is obsolete
boolisDeterminingParametersChangedSign that parameters for creating scheme of the process was changed
stringtenantIdId of tenant
stringcalendarNameWork calendar name
Returns
TypeDescription
ProcessInstanceProcessInstance object

GetSchemeCodeForActionCall()

Returns the code of the scheme from which the actions are called. For a subprocess it will be RootSchemeCode for root (ordinary) process it will be SchemeCode

Declaration
public string GetSchemeCodeForActionCall()
Returns
TypeDescription
string

Save(WorkflowRuntime)

Save the runtime

Declaration
public void Save(WorkflowRuntime runtime)
Parameters
TypeNameDescription
WorkflowRuntimeruntimeruntime <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>

SaveAsync(WorkflowRuntime)

Save runtime (asynchronous version)

Declaration
public Task SaveAsync(WorkflowRuntime runtime)
Parameters
TypeNameDescription
WorkflowRuntimeruntimeruntime <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
Task

GetCalendar()

Get work calendar

Declaration
public ICalendar GetCalendar()
Returns
TypeDescription
ICalendarWork calendar

Clone()

Clones ProcessInstance object

Declaration
public ProcessInstance Clone()
Returns
TypeDescription
ProcessInstanceCloned ProcessInstance object

AddParameter(ParameterDefinitionWithValue)

Adds parameter to process parameters collection

Declaration
public void AddParameter(ParameterDefinitionWithValue parameter)
Parameters
TypeNameDescription
ParameterDefinitionWithValueparameterParameter with value <xref href="OptimaJet.Workflow.Core.Model.ParameterDefinitionWithValue" data-throw-if-not-resolved="false"></xref>

AddParameters(IEnumerable<ParameterDefinitionWithValue>)

Adds parameters to process parameters collection

Declaration
public void AddParameters(IEnumerable<ParameterDefinitionWithValue> parameters)
Parameters
TypeNameDescription
IEnumerable<ParameterDefinitionWithValue>parametersCollection of parameters with value <xref href="OptimaJet.Workflow.Core.Model.ParameterDefinitionWithValue" data-throw-if-not-resolved="false"></xref>

IsParameterExisting(string)

Checks that the parameter whether exists or not

Declaration
public bool IsParameterExisting(string name)
Parameters
TypeNameDescription
stringnameName of the parameter
Returns
TypeDescription
booltrue if exists

GetParameter(string)

Returns parameter with value ParameterDefinitionWithValue with specific name

Declaration
public ParameterDefinitionWithValue GetParameter(string name)
Parameters
TypeNameDescription
stringnameName of the parameter
Returns
TypeDescription
ParameterDefinitionWithValueParameter with value <xref href="OptimaJet.Workflow.Core.Model.ParameterDefinitionWithValue" data-throw-if-not-resolved="false"></xref>

GetParameterAsync(string)

Returns parameter with value ParameterDefinitionWithValue with specific name (asynchronous version)

Declaration
public Task<ParameterDefinitionWithValue> GetParameterAsync(string name)
Parameters
TypeNameDescription
stringnameName of the parameter
Returns
TypeDescription
Task<ParameterDefinitionWithValue>Parameter with value <xref href="OptimaJet.Workflow.Core.Model.ParameterDefinitionWithValue" data-throw-if-not-resolved="false"></xref>

GetParameter<T>(string)

Returns parameter's value by specific name

Declaration
public T GetParameter<T>(string name)
Parameters
TypeNameDescription
stringnameName of the parameter
Returns
TypeDescription
{T}Value of the parameter

GetParameterAsync<T>(string)

Returns parameter's value by specific name (asynchronous version)

Declaration
public Task<T> GetParameterAsync<T>(string name)
Parameters
TypeNameDescription
stringnameName of the parameter
Returns
TypeDescription
Task<T>Value of the parameter

SetParameter<T>(string, T, ParameterPurpose)

Set value of the parameter with specific name. If the definition of the parameter with specific name is absent in the scheme of the process ProcessDefinition.Parameters, there will be created Temporary parameter ParameterDefinition.Purpose with specified name

Declaration
public void SetParameter<T>(string name, T value, ParameterPurpose purposeIfMissing = ParameterPurpose.Temporary)
Parameters
TypeNameDescription
stringnameName of the parameter
{T}valueValue of the parameter
ParameterPurposepurposeIfMissingPurpose if it is missing <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref>

SetParameterAsync<T>(string, T, ParameterPurpose)

Set value of the parameter with specific name (asynchronous version). If the definition of the parameter with specific name is absent in the scheme of the process ProcessDefinition.Parameters, there will be created Temporary parameter ParameterDefinition.Purpose with specified name

Declaration
public Task SetParameterAsync<T>(string name, T value, ParameterPurpose purposeIfMissing = ParameterPurpose.Temporary)
Parameters
TypeNameDescription
stringnameName of the parameter
{T}valueValue of the parameter
ParameterPurposepurposeIfMissingPurpose if it is missing <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
Task

SetImplicitSerializedParameter(string, string, ParameterPurpose)

Sets implicit parameter using it's json serialized value

Declaration
public void SetImplicitSerializedParameter(string name, string value, ParameterPurpose purposeIfMissing = ParameterPurpose.Temporary)
Parameters
TypeNameDescription
stringnameName of the parameter
stringvalueJSON serialized value of implicit parameter
ParameterPurposepurposeIfMissingParameter purpose

RemoveParameter(string)

Remove parameter from process parameters

Declaration
public void RemoveParameter(string name)
Parameters
TypeNameDescription
stringnameParameter name

SetProcessParameters(List<ParameterDefinitionWithValue>)

Replace process parameters collection by new value

Declaration
public void SetProcessParameters(List<ParameterDefinitionWithValue> parameters)
Parameters
TypeNameDescription
List<ParameterDefinitionWithValue>parameters>Collection of parameters with value <xref href="OptimaJet.Workflow.Core.Model.ParameterDefinitionWithValue" data-throw-if-not-resolved="false"></xref>

InitPersistenceParametersFromScheme()

Initiates persistence parameters from the scheme

Declaration
public void InitPersistenceParametersFromScheme()

ExecuteConditionFromCodeActions(string, WorkflowRuntime, string)

Check condition from global or local code actions with specific name

Declaration
public bool ExecuteConditionFromCodeActions(string name, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringnameName of the condition to check
WorkflowRuntimeruntimeThe instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>
stringparameterAdditional action parameter
Returns
TypeDescription
boolCondition result

ExecuteConditionFromCodeActionsAsync(string, WorkflowRuntime, string)

Check condition from global or local code actions with specific name (asynchronous version)

Declaration
public Task<bool> ExecuteConditionFromCodeActionsAsync(string name, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringnameName of the condition to check
WorkflowRuntimeruntimeThe instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>
stringparameterAdditional action parameter
Returns
TypeDescription
Task<bool>Condition result

ExecuteCodeAction(string, WorkflowRuntime, string)

Execute action from global or local code actions with specific name

Declaration
public void ExecuteCodeAction(string name, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringnameName of the action to execute
WorkflowRuntimeruntimeThe instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>
stringparameterAdditional action parameter

ExecuteCodeActionAsync(string, WorkflowRuntime, string)

Execute action from global or local code actions with specific name (asynchronous version)

Declaration
public Task ExecuteCodeActionAsync(string name, WorkflowRuntime runtime, string parameter)
Parameters
TypeNameDescription
stringnameName of the action to execute
WorkflowRuntimeruntimeThe instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref>
stringparameterAdditional action parameter
Returns
TypeDescription
Task

GetLocalizedStateName(string, CultureInfo)

Returns localized state name in specific culture

Declaration
public string GetLocalizedStateName(string name, CultureInfo culture = null)
Parameters
TypeNameDescription
stringnameSystem state name
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized state name if exists, else input <code data-dev-comment-type="paramref" class="paramref">name</code>

GetLocalizedCommandName(string, CultureInfo)

Returns localized command name in specific culture

Declaration
public string GetLocalizedCommandName(string name, CultureInfo culture = null)
Parameters
TypeNameDescription
stringnameSystem command name
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized command name if exists, else input <code data-dev-comment-type="paramref" class="paramref">name</code>

GetLocalizedParameterName(string, CultureInfo)

Returns localized parameter name in specific culture

Declaration
public string GetLocalizedParameterName(string name, CultureInfo culture = null)
Parameters
TypeNameDescription
stringnameSystem parameter name
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized parameter name if exists, else input <code data-dev-comment-type="paramref" class="paramref">name</code>

GetLocalizedActionName(string, CultureInfo)

Returns localized action name in specific culture

Declaration
public string GetLocalizedActionName(string name, CultureInfo culture = null)
Parameters
TypeNameDescription
stringnameSystem action name
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized action name if exists, else input <code data-dev-comment-type="paramref" class="paramref">name</code>

GetLocalizedConditionName(string, CultureInfo)

Returns localized condition name in specific culture

Declaration
public string GetLocalizedConditionName(string name, CultureInfo culture = null)
Parameters
TypeNameDescription
stringnameSystem condition name
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized condition name if exists, else input <code data-dev-comment-type="paramref" class="paramref">name</code>

GetLocalizedSchemeName(CultureInfo)

Returns localized scheme name in specific culture

Declaration
public string GetLocalizedSchemeName(CultureInfo culture = null)
Parameters
TypeNameDescription
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized scheme name if exists, else just <see cref="!:ProcessDefinition.Name"></see>

GetLocalizedComment(string, CultureInfo)

Returns localized comment in specific culture

Declaration
public string GetLocalizedComment(string key, CultureInfo culture = null)
Parameters
TypeNameDescription
stringkeyKey for search localized comment
CultureInfocultureDesired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringLocalized value if exists, else input <code data-dev-comment-type="paramref" class="paramref">key</code>

ProcessParametersToString(ParameterPurpose)

Returns process parameters formatted to string

Declaration
public string ProcessParametersToString(ParameterPurpose purpose)
Parameters
TypeNameDescription
ParameterPurposepurposeParameter purpose to filter parameters <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref>
Returns
TypeDescription
stringFormatted string with parameters values

SetActivityAfterActionExecution(string)

Activity will be set and executed immediately after the current Action execution will be completed.

Declaration
public void SetActivityAfterActionExecution(string activityName)
Parameters
TypeNameDescription
stringactivityNameActivity name to set and execute

SetActivityAfterActivityExecution(string)

Activity will be set and executed immediately after the current Activity execution (i.e execution of all Actions of this Activity) will be completed.

Declaration
public void SetActivityAfterActivityExecution(string activityName)
Parameters
TypeNameDescription
stringactivityNameActivity name to set and execute

SetStateAfterActionExecution(string)

State will be set and executed immediately after the current Action execution will be completed.

Declaration
public void SetStateAfterActionExecution(string stateName)
Parameters
TypeNameDescription
stringstateNameState name to set and execute

SetStateAfterActivityExecution(string)

State will be set and executed immediately after the current Activity execution (i.e execution of all Actions of this Activity) will be completed.

Declaration
public void SetStateAfterActivityExecution(string stateName)
Parameters
TypeNameDescription
stringstateNameState name to set and execute

SubstituteValue(string)

Returns a substituted value (asynchronous version)

Declaration
public string SubstituteValue(string parameter)
Parameters
TypeNameDescription
stringparameterParameter name
Returns
TypeDescription
string

SubstituteValueAsync(string)

Returns a substituted value (asynchronous version)

Declaration
public Task<string> SubstituteValueAsync(string parameter)
Parameters
TypeNameDescription
stringparameterParameter name
Returns
TypeDescription
Task<string>

GetRootPersistedParameter<T>(string)

Returns the persisted parameter from the root process

Declaration
public T GetRootPersistedParameter<T>(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name
Returns
TypeDescription
{T}

GetRootPersistedParameterAsync<T>(string)

Returns the persisted parameter from the root process (asynchronous version)

Declaration
public Task<T> GetRootPersistedParameterAsync<T>(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name
Returns
TypeDescription
Task<T>

GetRootPersistedParameter(string)

Returns the persisted parameter from the root process ParameterDefinitionWithValue

Declaration
public ParameterDefinitionWithValue GetRootPersistedParameter(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name
Returns
TypeDescription
ParameterDefinitionWithValue

GetRootPersistedParameterAsync(string)

Returns the persisted parameter from the root process ParameterDefinitionWithValue (asynchronous version)

Declaration
public Task<ParameterDefinitionWithValue> GetRootPersistedParameterAsync(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name
Returns
TypeDescription
Task<ParameterDefinitionWithValue>

SetRootPersistenceParameter<T>(string, T)

Set the persistence parameter to the root process

Declaration
public void SetRootPersistenceParameter<T>(string parameterName, T value)
Parameters
TypeNameDescription
stringparameterNameParameter name
{T}valueValue

SetRootPersistenceParameterAsync<T>(string, T)

Set the persistence parameter to the root process (asynchronous version)

Declaration
public Task SetRootPersistenceParameterAsync<T>(string parameterName, T value)
Parameters
TypeNameDescription
stringparameterNameParameter name
{T}valueValue
Returns
TypeDescription
Task

RemoveRootPersistenceParameter(string)

Remove the persistence parameter from the root process

Declaration
public void RemoveRootPersistenceParameter(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name

RemoveRootPersistenceParameterAsync(string)

Remove the persistence parameter from the root process (asynchronous version)

Declaration
public Task RemoveRootPersistenceParameterAsync(string parameterName)
Parameters
TypeNameDescription
stringparameterNameParameter name
Returns
TypeDescription
Task

Extension Methods

Stay in the know
Build Workflow Applications Faster
Star us on GitHub