Task reassign

From Catglobe Wiki
Revision as of 06:52, 23 December 2011 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Task_reassign

Reassign a task which has any status

Syntax

Task_reassign(taskResourceId, responsibleResourceId, content)

or

Task_reassign(taskResourceId, responsibleResourceId, content, userResourceId)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • responsibleResourceId: is a number expression. It is the resource id of user who will be reassigned the task
  • content: is a string. It is the reassign content.
  • userResourceId: is number. It is the user resource id of user reassign this task. In case userResourceId is not input, its default value is the userResourceid of the current thread's user.

Return value

empty

Example

number taskResourceId = 34802722;

number responsibleResourceId = 34780089;

string content = "reassign";

print(Task_reassign(taskResourceId, responsibleResourceId, content));

Availability

Version 5.8