Difference between revisions of "Task reject"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Task_Functions]]
 
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====Task_reject=====
 
=====Task_reject=====

Revision as of 10:30, 12 December 2011



Task_reject

Reject a task which has status Need acceptance, Rejected

Syntax

Task_reject(taskResourceId, content)

Or

Task_reject(taskResourceId, content, userResourceId)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • content: is a string. It is the reject content.
  • userResourceId: is number. The resource id of user who rejects the task

Return value

empty

Example

number taskResourceId = 34802722;

string content = "Reject";

print(Task_reject(taskResourceId, content));

Availability

Version 5.8