Difference between revisions of "Task approve"
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 approves the task | + | * userResourceId: is a number expression. It is the resource id of user who approves the 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 04:22, 23 December 2011
Task_approve
Approve a task
Syntax
Task_approve(taskResourceId)
or
Task_approve(taskResourceId, 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 approves the 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;
print(Task_approve(taskResourceId));
Availability
Version 5.8