Difference between revisions of "Task disapprove"
Cg huyphong (talk | contribs) |
|||
Line 17: | Line 17: | ||
* taskResourceId: is a number expression. It is the resource id of the task | * taskResourceId: is a number expression. It is the resource id of the task | ||
− | * userResourceId: is a number expression. It is the resource id of user who disapproves the task | + | * userResourceId: is a number expression. It is the resource id of user who disapproves the task. In case userResourceId is not input, its default value is the userResourceid of the current thread's user. |
* content: is a string. It is the disapproval content. | * content: is a string. It is the disapproval content. | ||
Latest revision as of 04:39, 23 December 2011
Task_disapprove
Disapprove a task
Syntax
Task_disapprove(number taskResourceId, string content)
or
Task_disapprove(number taskResourceId, string content, number userResourceId)
Arguments
- taskResourceId: is a number expression. It is the resource id of the task
- userResourceId: is a number expression. It is the resource id of user who disapproves the task. In case userResourceId is not input, its default value is the userResourceid of the current thread's user.
- content: is a string. It is the disapproval content.
Return value
empty
Example
number taskResourceId = 34802722;
string content = "This task is disapproved because it needs fixing on step X";
print(Task_disapprove(taskResourceId, content));
Availability
Version 5.8