Task cancel

From Catglobe Wiki
Revision as of 09:51, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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
  • content: is a string. It is the cancellation content.

Return value

empty

Example

number taskResourceId = 34802722;

print(Task_approve(taskResourceId));

Availability

Version 5.8