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
Syntaxpublic class CreateInstanceParams
Constructors
CreateInstanceParams(string, Guid)
Constructor of CreateInstanceParams class
Declarationpublic CreateInstanceParams(string schemeCode, Guid processId)
Type | Name | Description |
---|---|---|
string | schemeCode | Code of the scheme |
Guid | processId | Process id |
Properties
SchemeCode
Code of the scheme
Declarationpublic string SchemeCode { get; set; }
Type | Description |
---|---|
string |
ProcessId
Process id
Declarationpublic Guid ProcessId { get; set; }
Type | Description |
---|---|
Guid |
IdentityId
The user id which execute initial command if command is available
Declarationpublic string IdentityId { get; set; }
Type | Description |
---|---|
string |
ImpersonatedIdentityId
The user id for whom executes initial command if command is available
Declarationpublic string ImpersonatedIdentityId { get; set; }
Type | Description |
---|---|
string |
SchemeCreationParameters
The parameters for creating scheme of process (defining parameters)
Declarationpublic IDictionary<string, object> SchemeCreationParameters { get; set; }
Type | Description |
---|---|
IDictionary<string, object> |
InitialProcessParameters
Parameters to be passed to the process as the initial
Declarationpublic IDictionary<string, object> InitialProcessParameters { get; set; }
Type | Description |
---|---|
IDictionary<string, object> |
TenantId
Tenant's identifier (if exist)
Declarationpublic string TenantId { get; set; }
Type | Description |
---|---|
string |
Persist
Names of persist parameters in CreateInstanceParams.InitialProcessParameters
Declarationpublic List<string> Persist { get; set; }
Type | Description |
---|---|
List<string> |
CalendarName
Work calendar name
Declarationpublic string CalendarName { get; set; }
Type | Description |
---|---|
string |
Methods
AddPersistentParameter(string, object)
Add new persistent initial process parameter
Declarationpublic CreateInstanceParams AddPersistentParameter(string name, object value)
Type | Name | Description |
---|---|---|
string | name | Parameter name |
object | value | Parameter value |
Type | Description |
---|---|
CreateInstanceParams |
AddTemporaryParameter(string, object)
Add new temporary initial process parameter
Declarationpublic CreateInstanceParams AddTemporaryParameter(string name, object value)
Type | Name | Description |
---|---|---|
string | name | Parameter name |
object | value | Parameter value |
Type | Description |
---|---|
CreateInstanceParams |