Task approve

From Catglobe Wiki
Revision as of 10:27, 12 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



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

Return value

empty

Example

number taskResourceId = 34802722;

print(Task_approve(taskResourceId));

Availability

Version 5.8