Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Task reject: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
Line 18: Line 18:
* 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
* content: is a string. It is the reject content.
* content: is a string. It is the reject content.
* userResourceId: is number. The resource id of user who rejects the task
* userResourceId: is number. The resource id of user who rejects 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:59, 23 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. 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;

string content = "Reject";

print(Task_reject(taskResourceId, content));

Availability

Version 5.8