Difference between revisions of "Task cancel"
(jrfconvert import) |
Cg huyphong (talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Task_Functions]] |
− | | + | {{HelpFiles}} |
=====Task_cancel===== | =====Task_cancel===== | ||
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 cancels the task | + | * userResourceId: is a number expression. It is the resource id of user who cancels 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 cancellation content. | * content: is a string. It is the cancellation content. | ||
Latest revision as of 04:36, 23 December 2011
Task_cancel
Cancel a task
Syntax
Task_cancel(taskResourceId, content)
or
Task_cancel(taskResourceId, content, 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 cancels 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 cancellation content.
Return value
empty
Example
number taskResourceId = 34802722;
print(Task_approve(taskResourceId));
Availability
Version 5.8