SetSupervisor
setSupervisor
Sets a resource to be the supervisor of a specific task.
Syntax
setSupervisor(taskUniqueId, supervisorUniqueId)
Arguments
taskUniqueId: Is a numeric (non-decimal) expression. It is the UniqueId of a task.
supervisorUniqueId: Is a numeric (non-decimal) expression. It is the UniqueId of the supervisor resource.
Return type
empty
Examples
/*assign the supervisor role of task 2188468 to user 15332*/
setSupervisor(2188468, 15332);
Availability
Version 4.8