SetSupervisor

From Catglobe Wiki
Revision as of 11:08, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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