Skip to main content

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

Class CreateInstanceParams

Represents parameters for creation of an instance of a process

Inheritance

↳ object

    ↳ CreateInstanceParams

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 CreateInstanceParams

Constructors

CreateInstanceParams(string, Guid)

Constructor of CreateInstanceParams class

Declaration
public CreateInstanceParams(string schemeCode, Guid processId)
Parameters
TypeNameDescription
stringschemeCodeCode of the scheme
GuidprocessIdProcess id

Properties

SchemeCode

Code of the scheme

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

ProcessId

Process id

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

IdentityId

The user id which execute initial command if command is available

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

ImpersonatedIdentityId

The user id for whom executes initial command if command is available

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

SchemeCreationParameters

The parameters for creating scheme of process (defining parameters)

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

InitialProcessParameters

Parameters to be passed to the process as the initial

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

TenantId

Tenant's identifier (if exist)

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

Persist

Names of persist parameters in CreateInstanceParams.InitialProcessParameters

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

CalendarName

Work calendar name

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

Methods

AddPersistentParameter(string, object)

Add new persistent initial process parameter

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

AddTemporaryParameter(string, object)

Add new temporary initial process parameter

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

Extension Methods