Assembly: OptimaJet.Workflow.Core

Class ResumeParams

OptimaJet.Workflow.Core.Runtime.ResumeParams

Provides parameters for resuming a process from a specific activity.

public class ResumeParams

Constructors

public ResumeParams(Guid processId, string activityName = null) #
Initializes a new instance of the ResumeParams class.

Parameters

Name
Type
Description
processId
Guid
The identifier of the process instance.
activityName
String
The name of the activity from which the process should resume.

Properties

public Guid ProcessId { get; set; } #
Gets or sets the identifier of the process instance.
public string IdentityId { get; set; } #
Gets or sets the workflow participant identity of the executor that performs the operation.
public string ImpersonatedIdentityId { get; set; } #
Gets or sets the workflow participant identity on whose behalf the operation is performed.
public string ActivityName { get; set; } #
Gets or sets the name of the activity from which the process should resume.
public IDictionary<string, object> ProcessParameters { get; set; } #
Gets or sets the process parameters for resuming execution.
public List<string> Persist { get; set; } #
Gets or sets the names of parameters in ResumeParams.ProcessParameters that should be persisted.

Methods

public ResumeParams AddPersistentParameter(string name, object value) #
Adds a process parameter and marks it as persistent.

Parameters

Name
Type
Description
name
String
The parameter name.
value
Object
The parameter value.

Returns

Type
Description
ResumeParams
The same ResumeParams instance.
public ResumeParams AddTemporaryParameter(string name, object value) #
Adds a process parameter that is not marked as persistent.

Parameters

Name
Type
Description
name
String
The parameter name.
value
Object
The parameter value.

Returns

Type
Description
ResumeParams
The same ResumeParams instance.