Click or drag to resize

ProcessGetProcessInstanceObject Method (ProcessObjectType, Int32)

Returns a object related to a proces instancebased on objectType. The object returned is either: * the process object * one of the activitety objects * the target object If objectType=ProcessObjectType.Activity the activityTemplateId must be provided. In such case, the activity which is based on the templateid is returned. If no aktivity is found for the provided activityTemplateId null is returned.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public DataObject GetProcessInstanceObject(
	ProcessObjectType objectType,
	int activityTemplateId
)

Parameters

objectType
Type: Omada.OE.ModelProcessObjectType
activityTemplateId
Type: SystemInt32

Return Value

Type: DataObject
See Also