Class ResumeParams
OptimaJet.Workflow.Core.Runtime.ResumeParams
Provides parameters for resuming a process from a specific activity.
Namespace: OptimaJet.Workflow.Core.Runtime
public class ResumeParamsConstructors
public ResumeParams(Guid processId, string activityName = null) #Initializes a new instance of the ResumeParams class.
Parameters
Name
Type
Description
processIdGuidThe identifier of the process instance.
activityNameStringThe 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
nameStringThe parameter name.
valueObjectThe parameter value.
Returns
Type
Description
ResumeParamsThe same ResumeParams instance.
public ResumeParams AddTemporaryParameter(string name, object value) #Adds a process parameter that is not marked as persistent.
Parameters
Name
Type
Description
nameStringThe parameter name.
valueObjectThe parameter value.
Returns
Type
Description
ResumeParamsThe same ResumeParams instance.