Skip to main content

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

Class SetStateParams

Represents parameters for creation of an instance of a process

Inheritance

↳ object

    ↳ SetStateParams

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class SetStateParams

Constructors

SetStateParams(Guid, string)

Constructor of CreateInstanceParams class

Declaration
public SetStateParams(Guid processId, string stateName)
Parameters
TypeNameDescription
GuidprocessIdProcess id
stringstateNameState name to set forcibly

Properties

ProcessId

Process id

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

IdentityId

The user id which execute operation

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

ImpersonatedIdentityId

The user id for whom executes operation

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

StateName

State name to set forcibly

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

PreventExecution

Actions due to transition process do not executed if true

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

ProcessParameters

Parameters to be passed to the process as the initial

Declaration
public IDictionary<string, object> ProcessParameters { get; set; }
Property value
TypeDescription
IDictionary<string, object>

Persist

Names of persist parameters in SetStateParams.ProcessParameters

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

Methods

AddPersistentParameter(string, object)

Add new persistent initial process parameter

Declaration
public SetStateParams AddPersistentParameter(string name, object value)
Parameters
TypeNameDescription
stringnameParameter name
objectvalueParameter value
Returns
TypeDescription
SetStateParams

AddTemporaryParameter(string, object)

Add new temporary initial process parameter

Declaration
public SetStateParams AddTemporaryParameter(string name, object value)
Parameters
TypeNameDescription
stringnameParameter name
objectvalueParameter value
Returns
TypeDescription
SetStateParams

Extension Methods