Click or drag to resize

MainRouteProcessOnDeadline Method

Method is used on a timer event to check whether certain activities in processes of a certain type are completed within deadline. If not, they will be autocompleted, and the process will be routed to the given transition.
Codemethod usageTo be used in a timer event definition
Designed to be used in a process only (Yes/No)No
Action Object (data object type)

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public void RouteProcessOnDeadline(
	CodeMethodInvokeContext context,
	string processTemplateUIdStr,
	string activityTemplateUIdStr,
	string transitionTemplateUIdStr,
	string deadlinePropSysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
processTemplateUIdStr
Type: SystemString
The UId of the process template of the processes to be checked.
activityTemplateUIdStr
Type: SystemString
The UId of the activity template to be completed within deadline.
transitionTemplateUIdStr
Type: SystemString
The UId of the transition template to route the process through.
deadlinePropSysName
Type: SystemString
The system name of the property that holds the deadline
See Also