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
Type | Description |
---|
IAssignmentManager | |
ProcessId
Returns Id of the process
Declaration
public Guid ProcessId { get; set; }
Property value
ParentProcessId
Returns Id of the parent process if this process is subprocess (parallel branch)
Declaration
public Guid? ParentProcessId { get; set; }
Property value
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
SchemeId
Returns Id of the scheme of the process
Declaration
public Guid SchemeId { get; set; }
Property value
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
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
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
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
PreviousActivityName
Returns the name of the activity which was initial for last executed transition TransitionDefinition.From
Declaration
public string PreviousActivityName { get; set; }
Property value
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
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
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
IdentityId
Returns the user id which execute a command or set a state
Declaration
public string IdentityId { get; set; }
Property value
ImpersonatedIdentityId
Returns the user id for whom executes a command or sets a state
Declaration
public string ImpersonatedIdentityId { get; set; }
Property value
ExecutedActivityState
Returns the name of the state which is final for currently executing transition TransitionDefinition.To
Declaration
public string ExecutedActivityState { get; set; }
Property value
ExecutedActivity
Returns the activity which is final for currently executing transition TransitionDefinition.To
Declaration
public ActivityDefinition ExecutedActivity { get; set; }
Property value
Type | Description |
---|
ActivityDefinition | |
ExecutedTransition
Returns the currently executing transition TransitionDefinition.To
Declaration
public TransitionDefinition ExecutedTransition { get; set; }
Property value
Type | Description |
---|
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
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
Type | Description |
---|
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
Type | Description |
---|
List<string> | |
SchemeCode
Returns the code of the scheme of the process
Declaration
public string SchemeCode { get; set; }
Property value
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
TenantId
Returns the tenant's identifier
Declaration
public string TenantId { get; }
Property value
StartTransitionalProcessActivity
Returns the name of the activity from which the transitional process was started.
Declaration
public string StartTransitionalProcessActivity { get; set; }
Property value
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
Type | Description |
---|
ActivityDefinition | |
IsPreExecution
Returns true within pre-execution mode
Declaration
public bool IsPreExecution { get; set; }
Property value
SubprocessName
If the process is a subprocess, its name will be here
Declaration
public string SubprocessName { get; set; }
Property value
CreationDate
Date of the process creation
Declaration
public DateTime CreationDate { get; set; }
Property value
LastTransitionDate
Date of the last transition execution
Declaration
public DateTime? LastTransitionDate { get; set; }
Property value
StartTransitionTime
Date of the start transition execution
Declaration
public DateTime? StartTransitionTime { get; set; }
Property value
LogEnabled
The flag indicates that this process is logging
Declaration
public bool LogEnabled { get; set; }
Property value
ActionParameterBeforeSubstitution
Action parameter before substitution
Declaration
public string ActionParameterBeforeSubstitution { get; set; }
Property value
CalendarName
Work calendar name
Declaration
public string CalendarName { get; set; }
Property value
ExternalParametersProvider
Returns the external parameter provider IWorkflowExternalParametersProvider
Declaration
public IWorkflowExternalParametersProvider ExternalParametersProvider { get; }
Property value
Type | Description |
---|
IWorkflowExternalParametersProvider | |
ProcessScheme
Returns parsed scheme of the process ProcessDefinition
Declaration
public ProcessDefinition ProcessScheme { get; set; }
Property value
Type | Description |
---|
ProcessDefinition | |
IsSchemeObsolete
Sign that the scheme of the process is obsolete
Declaration
public bool IsSchemeObsolete { get; }
Property value
IsSubprocess
Returns true if the process is subprocess
Declaration
public bool IsSubprocess { get; }
Property value
IsDeterminingParametersChanged
Sign that parameters for creating scheme of the process was changed
Declaration
public bool IsDeterminingParametersChanged { get; }
Property value
ProcessParameters
Returns the list of process parameters ParameterDefinitionWithValue
Declaration
public ParametersCollection ProcessParameters { get; }
Property value
Type | Description |
---|
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
Type | Description |
---|
ParametersCollection | |
this[string, ParameterPurpose]
Get and set a parameter
Declaration
public dynamic this[string name, ParameterPurpose purposeIfMissing = ParameterPurpose.Temporary] { get; set; }
Parameters
Type | Name | Description |
---|
string | name | Parameter name |
ParameterPurpose | purposeIfMissing | Purpose if it is missing <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref> |
Property value
Localizer
Provides localized strings. For search used sources from runtime owner and ProcessInstance.ProcessScheme
Declaration
public Localizer Localizer { get; }
Property value
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
Type | Name | Description |
---|
WorkflowRuntime | runtime | The instance of the runtime |
Guid | schemeId | Id of the scheme of the process |
Guid | processId | Id of the process |
ProcessDefinition | processScheme | Parsed scheme of the process |
bool | isSchemeObsolete | Sign that the scheme of the process is obsolete |
bool | isDeterminingParametersChanged | Sign that parameters for creating scheme of the process was changed |
string | tenantId | Id of tenant |
string | calendarName | Work calendar name |
Returns
Type | Description |
---|
ProcessInstance | ProcessInstance 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
Save(WorkflowRuntime)
Save the runtime
Declaration
public void Save(WorkflowRuntime runtime)
Parameters
Type | Name | Description |
---|
WorkflowRuntime | runtime | runtime <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
Type | Name | Description |
---|
WorkflowRuntime | runtime | runtime <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref> |
Returns
GetCalendar()
Get work calendar
Declaration
public ICalendar GetCalendar()
Returns
Type | Description |
---|
ICalendar | Work calendar |
Clone()
Clones ProcessInstance object
Declaration
public ProcessInstance Clone()
Returns
Type | Description |
---|
ProcessInstance | Cloned ProcessInstance object |
AddParameter(ParameterDefinitionWithValue)
Adds parameter to process parameters collection
Declaration
public void AddParameter(ParameterDefinitionWithValue parameter)
Parameters
Type | Name | Description |
---|
ParameterDefinitionWithValue | parameter | Parameter 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
Type | Name | Description |
---|
IEnumerable<ParameterDefinitionWithValue> | parameters | Collection 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
Type | Name | Description |
---|
string | name | Name of the parameter |
Returns
Type | Description |
---|
bool | true if exists |
GetParameter(string)
Returns parameter with value ParameterDefinitionWithValue with specific name
Declaration
public ParameterDefinitionWithValue GetParameter(string name)
Parameters
Type | Name | Description |
---|
string | name | Name of the parameter |
Returns
Type | Description |
---|
ParameterDefinitionWithValue | Parameter 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
Type | Name | Description |
---|
string | name | Name of the parameter |
Returns
Type | Description |
---|
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
Type | Name | Description |
---|
string | name | Name of the parameter |
Returns
Type | Description |
---|
{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
Type | Name | Description |
---|
string | name | Name of the parameter |
Returns
Type | Description |
---|
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
Type | Name | Description |
---|
string | name | Name of the parameter |
{T} | value | Value of the parameter |
ParameterPurpose | purposeIfMissing | Purpose 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
Type | Name | Description |
---|
string | name | Name of the parameter |
{T} | value | Value of the parameter |
ParameterPurpose | purposeIfMissing | Purpose if it is missing <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref> |
Returns
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
Type | Name | Description |
---|
string | name | Name of the parameter |
string | value | JSON serialized value of implicit parameter |
ParameterPurpose | purposeIfMissing | Parameter purpose |
RemoveParameter(string)
Remove parameter from process parameters
Declaration
public void RemoveParameter(string name)
Parameters
Type | Name | Description |
---|
string | name | Parameter name |
SetProcessParameters(List<ParameterDefinitionWithValue>)
Replace process parameters collection by new value
Declaration
public void SetProcessParameters(List<ParameterDefinitionWithValue> parameters)
Parameters
Type | Name | Description |
---|
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
Type | Name | Description |
---|
string | name | Name of the condition to check |
WorkflowRuntime | runtime | The instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref> |
string | parameter | Additional action parameter |
Returns
Type | Description |
---|
bool | Condition 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
Type | Name | Description |
---|
string | name | Name of the condition to check |
WorkflowRuntime | runtime | The instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref> |
string | parameter | Additional action parameter |
Returns
Type | Description |
---|
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
Type | Name | Description |
---|
string | name | Name of the action to execute |
WorkflowRuntime | runtime | The instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref> |
string | parameter | Additional 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
Type | Name | Description |
---|
string | name | Name of the action to execute |
WorkflowRuntime | runtime | The instance of <xref href="OptimaJet.Workflow.Core.Runtime.WorkflowRuntime" data-throw-if-not-resolved="false"></xref> |
string | parameter | Additional action parameter |
Returns
GetLocalizedStateName(string, CultureInfo)
Returns localized state name in specific culture
Declaration
public string GetLocalizedStateName(string name, CultureInfo culture = null)
Parameters
Type | Name | Description |
---|
string | name | System state name |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
string | name | System command name |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
string | name | System parameter name |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
string | name | System action name |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
string | name | System condition name |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized scheme name if exists, else just <see cref="!:ProcessDefinition.Name"></see> |
Returns localized comment in specific culture
Declaration
public string GetLocalizedComment(string key, CultureInfo culture = null)
Parameters
Type | Name | Description |
---|
string | key | Key for search localized comment |
CultureInfo | culture | Desired culture. If null then used <xref href="System.Globalization.CultureInfo.CurrentCulture" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Localized 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
Type | Name | Description |
---|
ParameterPurpose | purpose | Parameter purpose to filter parameters <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose" data-throw-if-not-resolved="false"></xref> |
Returns
Type | Description |
---|
string | Formatted 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
Type | Name | Description |
---|
string | activityName | Activity 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
Type | Name | Description |
---|
string | activityName | Activity 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
Type | Name | Description |
---|
string | stateName | State 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
Type | Name | Description |
---|
string | stateName | State name to set and execute |
SubstituteValue(string)
Returns a substituted value (asynchronous version)
Declaration
public string SubstituteValue(string parameter)
Parameters
Type | Name | Description |
---|
string | parameter | Parameter name |
Returns
SubstituteValueAsync(string)
Returns a substituted value (asynchronous version)
Declaration
public Task<string> SubstituteValueAsync(string parameter)
Parameters
Type | Name | Description |
---|
string | parameter | Parameter name |
Returns
Type | Description |
---|
Task<string> | |
GetRootPersistedParameter<T>(string)
Returns the persisted parameter from the root process
Declaration
public T GetRootPersistedParameter<T>(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
Returns
GetRootPersistedParameterAsync<T>(string)
Returns the persisted parameter from the root process (asynchronous version)
Declaration
public Task<T> GetRootPersistedParameterAsync<T>(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
Returns
GetRootPersistedParameter(string)
Returns the persisted parameter from the root process ParameterDefinitionWithValue
Declaration
public ParameterDefinitionWithValue GetRootPersistedParameter(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
Returns
Type | Description |
---|
ParameterDefinitionWithValue | |
GetRootPersistedParameterAsync(string)
Returns the persisted parameter from the root process ParameterDefinitionWithValue (asynchronous version)
Declaration
public Task<ParameterDefinitionWithValue> GetRootPersistedParameterAsync(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
Returns
Type | Description |
---|
Task<ParameterDefinitionWithValue> | |
SetRootPersistenceParameter<T>(string, T)
Set the persistence parameter to the root process
Declaration
public void SetRootPersistenceParameter<T>(string parameterName, T value)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
{T} | value | Value |
SetRootPersistenceParameterAsync<T>(string, T)
Set the persistence parameter to the root process (asynchronous version)
Declaration
public Task SetRootPersistenceParameterAsync<T>(string parameterName, T value)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
{T} | value | Value |
Returns
RemoveRootPersistenceParameter(string)
Remove the persistence parameter from the root process
Declaration
public void RemoveRootPersistenceParameter(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
RemoveRootPersistenceParameterAsync(string)
Remove the persistence parameter from the root process (asynchronous version)
Declaration
public Task RemoveRootPersistenceParameterAsync(string parameterName)
Parameters
Type | Name | Description |
---|
string | parameterName | Parameter name |
Returns
Extension Methods
- ProcessInstanceExtensions.GetLoopCurrentCounterValueAsync(ProcessInstance, string)
- ProcessInstanceExtensions.GetLoopNextCounterValueAsync(ProcessInstance, string)
- ProcessInstanceExtensions.GetLoopPrevCounterValueAsync(ProcessInstance, string)
- ProcessInstanceExtensions.GetLoopStateAsync(ProcessInstance, string)
- ProcessInstanceExtensions.LoopBreakAsync(ProcessInstance, string)
- ProcessInstanceExtensions.LoopContinueAsync(ProcessInstance, string)
- ProcessInstanceExtensions.SetLoopStateAsync(ProcessInstance, string, LoopState)
- Extensions.CastAs<T>(object)
- Extensions.ExtendedEquals(object, object)
- Extensions.TryCast<T>(object, out T)