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 setCompleted: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
[[Category:Task_Functions]]

{{HelpFiles}}


=====Task_setCompleted=====
=====Task_setCompleted=====
Line 18: Line 18:
* taskResourceId: is number.
* taskResourceId: is number.
* content: is string. It is the description/ comment when complete a task
* content: is string. It is the description/ comment when complete a task
* userResourceId: is number. It is the user resource id of user complete this task
* userResourceId: is number. It is the user resource id of user complete this 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 05:11, 23 December 2011



Task_setCompleted

Complete a task which has Need_Acceptance, In_Progress, Rejected

Syntax

Task_setCompleted(taskResourceId, content)

or

Task_setCompleted(taskResourceId, content, userResourceId)

Arguments

  • taskResourceId: is number.
  • content: is string. It is the description/ comment when complete a task
  • userResourceId: is number. It is the user resource id of user complete this 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 = "Set Complete";

print(Task_setCompleted(taskResourceId, content));

Availability

Version 5.8