Click or drag to resize

MainLibraryRouteProcessOnDeadline Method

Method is used on a timer event to check certain activities in processes of a certain type if are not completed within deadline. If so they will be autocompleted and the process routed to given transition.

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static void RouteProcessOnDeadline(
	CodeMethodInvokeContext context,
	int processTemplateId,
	int activityTemplateId,
	int transitionTemplateId,
	int deadlinePropId
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
processTemplateId
Type: SystemInt32
The id of the process template of the processes to be checked.
activityTemplateId
Type: SystemInt32
The id of the activity template to be completed within deadline.
transitionTemplateId
Type: SystemInt32
The id of the transition template to route the process trough.
deadlinePropId
Type: SystemInt32
The id of the property that holds the deadline
See Also