Class SubProcessProxy
Base class for sub process elements in compiled process.
Implements
Inherited Members
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
public class SubProcessProxy : Process, IProcessDataSerializable, IHandler<ChangeProcessElementPerformerCommand>
Constructors
SubProcessProxy(UserConnection, Process)
Initializes a new instance of the Process class.
Declaration
protected SubProcessProxy(UserConnection userConnection, Process ownerProcess)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | The user connection. |
Process | ownerProcess | Parent process. |
Properties
ActivatedEventElements
Gets a collection of the activated events.
Declaration
public override Collection<string> ActivatedEventElements { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<System.String> |
Overrides
Caption
Gets or sets the caption.
Declaration
public override string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption. |
Overrides
CreatedInSchemaUId
Gets or sets unique identifier of the owner process schema where the current element has been created.
Declaration
public override Guid CreatedInSchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
ExecutedEventHandler
Gets or sets event handler. It is triggered when current process element has been executed.
Declaration
public override EventHandler<ProcessActivityAfterEventArgs> ExecutedEventHandler { get; set; }
Property Value
Type | Description |
---|---|
System.EventHandler<ProcessActivityAfterEventArgs> |
Overrides
ExecutionResult
Gets or sets value that represents execution result of the current process element.
Declaration
public override bool ExecutionResult { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
FlowElements
Gets a set of the process elements that were executed or are required to execute.
Declaration
public override Dictionary<Guid, Collection<ProcessFlowElement>> FlowElements { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Guid, System.Collections.ObjectModel.Collection<ProcessFlowElement>> |
Overrides
InitialSchemaUId
Gets or sets unique identifier of the schema as initial value.
Declaration
protected Guid InitialSchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
InstanceUId
Gets string value that represents unique identifier of the current process.
Declaration
public override string InstanceUId { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
InternalContext
Gets or sets instance of the ProcessExecutingContext type.
Declaration
public override ProcessExecutingContext InternalContext { get; set; }
Property Value
Type | Description |
---|---|
ProcessExecutingContext |
Overrides
IsEmbedded
Gets value that determines whether it is embedded process.
Declaration
public override bool IsEmbedded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsExecuted
Gets or sets value that indicates whether the current process element is executed.
Declaration
public override bool IsExecuted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsLogging
Gets or sets value that indicates whether the current process element is needed to write in Log.
Declaration
public override bool IsLogging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsProcessExecutedByService
Gets or sets value that determines whether the current process is started by service.
Declaration
[Obsolete("7.13.1 | Property is not in use and will be removed in upcoming builds")]
public override bool IsProcessExecutedByService { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsProcessExecutedBySignal
Gets or sets value that determines whether the current process is started by signal.
Declaration
public override bool IsProcessExecutedBySignal { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsSaved
Gets or sets value that determines whether it is embedded process.
Declaration
public override bool IsSaved { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
IsShownExecutionPage
Gets or sets value that determines whether it can show execution page.
Declaration
public override bool IsShownExecutionPage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
LoopCounter
Gets or sets number of process element repetitions.
Declaration
public override int LoopCounter { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
MaxLoopCount
Gets maximum number of process repetitions.
Declaration
public override int MaxLoopCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
MetaPathParameterValues
Gets a collection of keys and values, where key is the metapath and value is delegate.
Declaration
public override Dictionary<string, Func<object>> MetaPathParameterValues { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Func<System.Object>> |
Overrides
Name
Gets or sets the name.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Overrides
Owner
Gets or sets owner process.
Declaration
public override Process Owner { get; set; }
Property Value
Type | Description |
---|---|
Process |
Overrides
OwnerUId
Gets or sets the unique identifier of owner process instance.
Declaration
public override string OwnerUId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique identifier of owner process instance. |
Overrides
ParameterValueProvider
Gets the family of algorithms that are used to obtain the values of the process parameters.
Declaration
public override ProcessParameterValueProvider ParameterValueProvider { get; }
Property Value
Type | Description |
---|---|
ProcessParameterValueProvider |
Overrides
PreviousFlowElements
Gets or sets a set of previous elements of the process.
Declaration
public override Collection<string> PreviousFlowElements { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<System.String> |
Overrides
ProcessLane
Gets or sets lane of the process.
Declaration
public override ProcessLane ProcessLane { get; set; }
Property Value
Type | Description |
---|---|
ProcessLane |
Overrides
ProcessSchema
Gets the process schema.
Declaration
public override ProcessSchema ProcessSchema { get; }
Property Value
Type | Description |
---|---|
ProcessSchema |
Overrides
ProcessType
Gets or sets the class type of the current process.
Declaration
public override Type ProcessType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Overrides
Result
Gets or sets result of the current process execution.
Declaration
public override object Result { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
Schema
Gets or sets the schema.
Declaration
public override Schema Schema { get; set; }
Property Value
Type | Description |
---|---|
Schema | The schema. |
Overrides
SchemaElementUId
Gets or sets unique identifier of the schema element.
Declaration
public override Guid SchemaElementUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
SchemaManager
Gets instance that implements the ISchemaManager interface.
Declaration
public override ISchemaManager SchemaManager { get; }
Property Value
Type | Description |
---|---|
ISchemaManager |
Overrides
SchemaManagerName
Gets or sets name of schema manager.
Declaration
public override string SchemaManagerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
SchemaUId
Gets or sets unique identifier of the schema element.
Declaration
public override Guid SchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Overrides
SerializeToDB
Gets or sets value that indicates whether the current process element is needed to serialize in DB.
Declaration
public override bool SerializeToDB { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SerializeToMemory
Gets or sets value that determines whether it is required to serialize the current process in memory.
Declaration
public override bool SerializeToMemory { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
StartDate
Gets or sets date and time of the day when the current process has been started.
Declaration
public override DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Overrides
Status
Gets or sets the execution state.
Declaration
public override ProcessStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ProcessStatus | The execution state. |
Overrides
Storage
Gets or sets instance that provides functionality for storing and retrieving resource managers.
Declaration
public override IResourceStorage Storage { get; set; }
Property Value
Type | Description |
---|---|
IResourceStorage |
Overrides
ThrowEvents
Gets a set of events that are required to trigger.
Declaration
public override Collection<string> ThrowEvents { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<System.String> |
Overrides
Type
Gets or sets the name of the current member type.
Declaration
public override string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
UId
Gets or sets the unique identifier.
Declaration
public override Guid UId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The unique identifier. |
Overrides
UserConnection
Gets or sets the user connection.
Declaration
public override UserConnection UserConnection { get; set; }
Property Value
Type | Description |
---|---|
UserConnection | The user connection. |
Overrides
WaitingUserTasks
Gets a set of the process elements that are going to show execution page.
Declaration
public override Collection<ProcessFlowElement> WaitingUserTasks { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ProcessFlowElement> |
Overrides
Methods
Assign(ProcessFlowElement)
Assigns the property values of the current process element to the properties of the specified element.
Declaration
protected override void Assign(ProcessFlowElement processElement)
Parameters
Type | Name | Description |
---|---|---|
ProcessFlowElement | processElement | Instance of the ProcessFlowElement type. |
Overrides
CancelExecuting(Object[])
Cancels the executing.
Declaration
public override void CancelExecuting(params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | parameters | Array of the parameter values. |
Overrides
CancelExecution()
Cancels execution of the current process.
Declaration
public override void CancelExecution()
Overrides
CloneShallow()
Creates a shallow copy of the current process.
Declaration
public override object CloneShallow()
Returns
Type | Description |
---|---|
System.Object | Instance that is a copy of the current process. |
Overrides
CompleteExecuting(Object[])
Completes executing the current process.
Declaration
public override bool CompleteExecuting(params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | parameters | Array of the parameter values. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
ConvertToProcessDataSourceFilters(Guid, String)
Converts a set of filters to a process format.
Declaration
public override string ConvertToProcessDataSourceFilters(Guid entitySchemaUId, string dataSourceFilters)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | entitySchemaUId | Unique identifier of the entity schema. |
System.String | dataSourceFilters | Set of the filter values. |
Returns
Type | Description |
---|---|
System.String | Converted value of the set of filters. |
Overrides
ConvertToProcessDataSourceFilters(ProcessActivity, Guid, String)
Converts a set of filters to a process format.
Declaration
public override string ConvertToProcessDataSourceFilters(ProcessActivity processActivity, Guid entitySchemaUId, string dataSourceFilters)
Parameters
Type | Name | Description |
---|---|---|
ProcessActivity | processActivity | Instance of the ProcessActivity class. |
System.Guid | entitySchemaUId | Unique identifier of the entity schema. |
System.String | dataSourceFilters | Set of the filter values. |
Returns
Type | Description |
---|---|
System.String | Converted value of the set of filters. |
Overrides
CreateFlowElementInstanceByType(Type, Process)
Creates a new instance of the ProcessFlowElement class by the specified type info.
Declaration
protected override ProcessFlowElement CreateFlowElementInstanceByType(Type processElementType, Process process)
Parameters
Type | Name | Description |
---|---|---|
System.Type | processElementType | |
Process | process | Instance of the Process type. |
Returns
Type | Description |
---|---|
ProcessFlowElement | Instance of the ProcessFlowElement type. |
Overrides
DeserializeFromString<T>(String)
Converts the specified string to an object of the specified type.
Declaration
public override T DeserializeFromString<T>(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string to be deserialized. |
Returns
Type | Description |
---|---|
T | The deserialized object. |
Type Parameters
Name | Description |
---|---|
T | The type of the resulting object. |
Overrides
Execute(ProcessExecutingContext)
Executes current process.
Declaration
public override bool Execute(ProcessExecutingContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessExecutingContext | context | The execution context. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
Execute(ProcessFlowElement, Object[])
Reexecutes process element.
Declaration
public override bool Execute(ProcessFlowElement processElement, params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
ProcessFlowElement | processElement | |
System.Object[] | parameters |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Execute(UserConnection)
Executes the current process.
Declaration
public override bool Execute(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Execute(UserConnection, String)
Executes the current process.
Declaration
public override bool Execute(UserConnection userConnection, string startQueueTasksItem)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
System.String | startQueueTasksItem | The name of the process element in the queue. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
ExternalExecute(ProcessActivityAfterEventArgs)
Executes external process.
Declaration
public override void ExternalExecute(ProcessActivityAfterEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ProcessActivityAfterEventArgs | e | Instance of the ProcessActivityAfterEventArgs type. |
Overrides
FillWaitingUserTaskCollection(ProcessFlowElement)
Fills collection with items of the process elements that can interact with user.
Declaration
protected override void FillWaitingUserTaskCollection(ProcessFlowElement processElement)
Parameters
Type | Name | Description |
---|---|---|
ProcessFlowElement | processElement | Instance of the ProcessFlowElement type. |
Overrides
FindFlowElementByName(String)
Finds process element by its name.
Declaration
public override ProcessFlowElement FindFlowElementByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the process element. |
Returns
Type | Description |
---|---|
ProcessFlowElement | Found process element. |
Overrides
FindFlowElementBySchemaElementUId(Guid)
Finds the flow element by schema element UId.
Declaration
public override ProcessFlowElement FindFlowElementBySchemaElementUId(Guid schemaElementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaElementUId | The schema element identifier. |
Returns
Type | Description |
---|---|
ProcessFlowElement |
Overrides
FindFlowElementByUId(Guid)
Finds process element by its unique identifier.
Declaration
public override ProcessFlowElement FindFlowElementByUId(Guid elementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | elementUId | Unique identifier of the process element. |
Returns
Type | Description |
---|---|
ProcessFlowElement | Found process element. |
Overrides
GetExecutionData()
Returns the data required to display the execution page.
Declaration
public override string GetExecutionData()
Returns
Type | Description |
---|---|
System.String | String that represents the data needed for showing execution page. |
Overrides
GetFlowElementBySchemaElementUId(Guid)
Gets the flow element by schema element UId
Declaration
public override ProcessFlowElement GetFlowElementBySchemaElementUId(Guid schemaElementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaElementUId | The schema element identifier. |
Returns
Type | Description |
---|---|
ProcessFlowElement | The process flow element |
Overrides
GetFlowElementsBySchemaElementUId(Guid)
Gets the enumerator of the flow elements founded by their schema element UId.
Declaration
public override IEnumerable<ProcessFlowElement> GetFlowElementsBySchemaElementUId(Guid schemaElementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaElementUId | The schema element identifier. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessFlowElement> | The enumerator of the flow elements. |
Overrides
GetFlowElementsByShemaElementUId(Guid)
Declaration
[Obsolete("7.13.4 | Use GetFlowElementsBySchemaElementUId(Guid schemaElementUId) instead")]
public override IEnumerable<ProcessFlowElement> GetFlowElementsByShemaElementUId(Guid schemaElementUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | schemaElementUId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProcessFlowElement> |
Overrides
GetIsReexecution()
Returns flag that idicates if element has been executed one or more times.
Declaration
public override bool GetIsReexecution()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetLocalizableString(String, String)
Returns string value that depends on the current culture info.
Declaration
public override string GetLocalizableString(string managerName, string resourceItemName)
Parameters
Type | Name | Description |
---|---|---|
System.String | managerName | Name of the resource manager. |
System.String | resourceItemName | Name of the resource item. |
Returns
Type | Description |
---|---|
System.String |
Overrides
GetParameterValue(ProcessSchemaParameter)
Returns parameter value.
Declaration
public override object GetParameterValue(ProcessSchemaParameter parameter)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameter | parameter | Process schema parameter. |
Returns
Type | Description |
---|---|
System.Object | Parameter value. |
Overrides
GetParameterValue<T>(String)
Gets parameter value by it's name.
Declaration
protected override T GetParameterValue<T>(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterName | The name of parameter. |
Returns
Type | Description |
---|---|
T | Returns the value of the property by name. |
Type Parameters
Name | Description |
---|---|
T | The type of parameter. |
Overrides
GetParameterValueByMetaPath(String)
Gets the process parameter value by meta path.
Declaration
public override object GetParameterValueByMetaPath(string metaPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaPath | The process parameter meta path. |
Returns
Type | Description |
---|---|
System.Object | The process parameter value. |
Overrides
GetParameterValues()
Returns element parameters.
Declaration
public override Dictionary<ProcessSchemaParameter, object> GetParameterValues()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<ProcessSchemaParameter, System.Object> | Element parameters. |
Overrides
GetParentProcess()
Returns instance of the main process.
Declaration
public override Process GetParentProcess()
Returns
Type | Description |
---|---|
Process | Process. |
Overrides
GetPropertiesData()
Returns serialized state of the current process.
Declaration
public override string GetPropertiesData()
Returns
Type | Description |
---|---|
System.String | String that represents serialized state of the current process element. |
Overrides
GetPropertiesData(Boolean)
Returns serialized state of the current process.
Declaration
public override string GetPropertiesData(bool shouldWriteElements)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | shouldWriteElements | Indicates whether to write other process elements. |
Returns
Type | Description |
---|---|
System.String | String that represents serialized state of the current process element. |
Overrides
GetResultAllowedValues()
Gets the result allowed values.
Declaration
public override string GetResultAllowedValues()
Returns
Type | Description |
---|---|
System.String | The result allowed values. |
Overrides
GetResultParameterAllowedValues()
Returns allowed values of the result parameter.
Declaration
public override Dictionary<Guid, string> GetResultParameterAllowedValues()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Guid, System.String> | Allowed values of the result parameter. |
Overrides
GetResultParameterAllValues(UserConnection, ProcessSchemaUserTask)
Returns values of the result parameters.
Declaration
public override Dictionary<Guid, string> GetResultParameterAllValues(UserConnection userConnection, ProcessSchemaUserTask schemaUserTask)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | |
ProcessSchemaUserTask | schemaUserTask |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.Guid, System.String> | Allowed values of the result parameter. |
Overrides
GetSchemaElement()
Returns owner schema element.
Declaration
public override BaseProcessSchemaElement GetSchemaElement()
Returns
Type | Description |
---|---|
BaseProcessSchemaElement | Found schema element. |
Overrides
InitializeFlowElementProperties(ProcessFlowElement)
Method must be implemented in derived classes.
Declaration
public override void InitializeFlowElementProperties(ProcessFlowElement flowElement)
Parameters
Type | Name | Description |
---|---|---|
ProcessFlowElement | flowElement |
Overrides
InitializeOwnProperties(Process)
Initializes property values of the owner process.
Declaration
protected virtual void InitializeOwnProperties(Process owner)
Parameters
Type | Name | Description |
---|---|---|
Process | owner | Owner process. |
InitializeParameterValues()
Method does nothing.
Declaration
protected virtual void InitializeParameterValues()
ProcessQueue(ProcessExecutingContext)
Processes a queue consisting of process elements.
Declaration
protected override bool ProcessQueue(ProcessExecutingContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessExecutingContext | context | The execution context. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
ReadPropertiesData()
Reads state of the current process.
Declaration
public override void ReadPropertiesData()
Overrides
ReadPropertiesData(DataReader)
Reads state of the current process.
Declaration
public override void ReadPropertiesData(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader | Instance that provides sequential reading of data. |
Overrides
ReadPropertiesDataFromDB(UserConnection)
Reads state of the current process from DB.
Declaration
public override void ReadPropertiesDataFromDB(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Overrides
ReadPropertiesDataFromMemory()
Reads state of the current process from memory.
Declaration
public override void ReadPropertiesDataFromMemory()
Overrides
ReadPropertiesDataFromOwner(DataReader)
Reads the properties data from owner process data stream.
Declaration
public override void ReadPropertiesDataFromOwner(DataReader ownerReader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | ownerReader | The data reader. |
Overrides
SerializeToString(Object)
Serializes the specified value.
Declaration
public override string SerializeToString(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The specified value. |
Returns
Type | Description |
---|---|
System.String | String that represents the serialized value. |
Overrides
SetParameterValue<T>(String, T)
Sets protected parameter value by it's name.
Declaration
protected override void SetParameterValue<T>(string parameterName, T value)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterName | The parameter name. |
T | value | The value. |
Type Parameters
Name | Description |
---|---|
T | The type of parameter. |
Overrides
SetPrivateFieldValue(String, Object, Object)
Sets the value of private field of a process instance.
Declaration
protected override void SetPrivateFieldValue(string fieldName, object source, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Field name that is declared in the "source" argument. |
System.Object | source | Instance of the Process type. |
System.Object | value | The new field value. |
Overrides
ShouldWriteFlowElementProperties(ProcessFlowElement)
Returns value that determines whether the current process should write state of the specified process element.
Declaration
protected override bool ShouldWriteFlowElementProperties(ProcessFlowElement processElement)
Parameters
Type | Name | Description |
---|---|---|
ProcessFlowElement | processElement | Instance of the ProcessFlowElement type. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
ThrowEvent(ProcessExecutingContext, String)
Throws event.
Declaration
public override void ThrowEvent(ProcessExecutingContext context, string eventHandler)
Parameters
Type | Name | Description |
---|---|---|
ProcessExecutingContext | context | Execution context. |
System.String | eventHandler | Name of the event handler. |
Overrides
TryGetPerformer(out Guid)
Attempts to get performer user.
Declaration
public override bool TryGetPerformer(out Guid performerUId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | performerUId | Unique identifier of the performer user. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
WriteExecutionData(IProcessExecutionDataWriter)
Declaration
protected override void WriteExecutionData(IProcessExecutionDataWriter dataWriter)
Parameters
Type | Name | Description |
---|---|---|
IProcessExecutionDataWriter | dataWriter |
Overrides
WriteFlowElementsProperty(DataWriter)
Writes state of the process elements.
Declaration
protected override void WriteFlowElementsProperty(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | Instance of the |
Overrides
WritePropertiesData()
Writes state of the current process.
Declaration
public override void WritePropertiesData()
Overrides
WritePropertiesData(DataWriter)
Writes state of the current process element.
Declaration
public override void WritePropertiesData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | Instance of the |
Overrides
WritePropertiesData(DataWriter, Boolean)
Writes state of the current process.
Declaration
public override void WritePropertiesData(DataWriter writer, bool shouldWriteElements)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | Instance of the |
System.Boolean | shouldWriteElements | Indicates whether to write process elements. |
Overrides
WritePropertiesDataToDB(UserConnection)
Writes state of the current process to DB.
Declaration
public override void WritePropertiesDataToDB(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
Overrides
WritePropertiesDataToMemory()
Writes state of the current process to memory.
Declaration
public override void WritePropertiesDataToMemory()
Overrides
WritePropertiesDataToOwner(DataWriter)
Declaration
public override void WritePropertiesDataToOwner(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer |