Click or drag to resize

InstantiateProcessOptions Class

InstantiateProcessOptions is used when a new process instance is created.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelInstantiateProcessOptions

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class InstantiateProcessOptions

The InstantiateProcessOptions type exposes the following members.

Constructors
  NameDescription
Public methodInstantiateProcessOptions
Top
Properties
  NameDescription
Public propertyBeforeSave
Can be used for modifying the process, activities and target object before they get saved.
Public propertyFirstActivityAssigneeIds
The list of assignees for the first activity. If not empty the first activity in the process will be assigned to this users/user groups.
Public propertyProcessParent
defines the Tree Structure parent for the process. ProcessParent is not required. If the security must contain the right content for the new process instance, the ProcessParent must be provided (only applicable if the process must be used before its saved to the database, like on the WorkItemDlg web page)
Public propertyTargetId
Sets the target for the new process instance. TargetId is a DataObject ID - its ignored if set to 0, TargetId is only applicable of the process template is of type "Edit" (TargetTypeId > 0)
Public propertyTargetParent
Defines the Tree Structure parent object for the target object in the new process instance. TargetParent is not required. If provided the ID must match the TargetParentId attribue. If the security must contain the right values for the new process instance, then the TargetParent must be provided. (This is only applicable if the process must be used before its saved to the database, like on the WorkItemDlg web page). TargetParent is only applicable for process templates of type "New".
Public propertyTargetParentId
Defines the TreeStructure parent for the new target object. It shall only be set of the target object shall be placed another place than the default for the DataObjectType Only applicable for process templates creating a new target object.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also