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
Syntaxpublic class SetStateParams
Constructors
SetStateParams(Guid, string)
Constructor of CreateInstanceParams class
Declarationpublic SetStateParams(Guid processId, string stateName)
| Type | Name | Description | 
|---|---|---|
| Guid | processId | Process id | 
| string | stateName | State name to set forcibly | 
Properties
ProcessId
Process id
Declarationpublic Guid ProcessId { get; set; }
| Type | Description | 
|---|---|
| Guid | 
IdentityId
The user id which execute operation
Declarationpublic string IdentityId { get; set; }
| Type | Description | 
|---|---|
| string | 
ImpersonatedIdentityId
The user id for whom executes operation
Declarationpublic string ImpersonatedIdentityId { get; set; }
| Type | Description | 
|---|---|
| string | 
StateName
State name to set forcibly
Declarationpublic string StateName { get; set; }
| Type | Description | 
|---|---|
| string | 
PreventExecution
Actions due to transition process do not executed if true
Declarationpublic bool PreventExecution { get; set; }
| Type | Description | 
|---|---|
| bool | 
ProcessParameters
Parameters to be passed to the process as the initial
Declarationpublic IDictionary<string, object> ProcessParameters { get; set; }
| Type | Description | 
|---|---|
| IDictionary<string, object> | 
Persist
Names of persist parameters in SetStateParams.ProcessParameters
Declarationpublic List<string> Persist { get; set; }
| Type | Description | 
|---|---|
| List<string> | 
Methods
AddPersistentParameter(string, object)
Add new persistent initial process parameter
Declarationpublic SetStateParams AddPersistentParameter(string name, object value)
| Type | Name | Description | 
|---|---|---|
| string | name | Parameter name | 
| object | value | Parameter value | 
| Type | Description | 
|---|---|
| SetStateParams | 
AddTemporaryParameter(string, object)
Add new temporary initial process parameter
Declarationpublic SetStateParams AddTemporaryParameter(string name, object value)
| Type | Name | Description | 
|---|---|---|
| string | name | Parameter name | 
| object | value | Parameter value | 
| Type | Description | 
|---|---|
| SetStateParams |