Click or drag to resize

MainSetAssigneeFromTargetPropertyValue Method

Method is to be used in a process-event-action (either timer-activated or transition-activated).

The method updates the assignee on the action object (which must be an activity).

The new assignee is found by looking in the selected value of a set property used on the process' target object.

The assignee must be stated (as a user group name) in the set property value description.

Codemethod usage
Designed to be used in a process only (Yes/No)Yes
Action Object (data object type)Activity

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public void SetAssigneeFromTargetPropertyValue(
	CodeMethodInvokeContext context,
	string propertySysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
propertySysName
Type: SystemString
Denotes a set property that is used on the target object. Each value of the set property must have a description that matches the name of a user group.
See Also