Difference between revisions of "Task reassign"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Task_Functions]]
 
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====Task_reassign=====
 
=====Task_reassign=====
Line 19: Line 19:
 
* responsibleResourceId: is a number expression. It is the resource id of user who will be reassigned 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.
 
* content: is a string. It is the reassign content.
* userResourceId: is number. It is the user resource id of user reassign this task
+
* 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'''
 
'''Return value'''

Latest revision as of 05:52, 23 December 2011



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