Difference between revisions of "Task setCompleted"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Task_Functions]]
 

 

  

Revision as of 08:13, 11 November 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

Return value

empty

Example

number taskResourceId = 34802722;

string content = "Set Complete";

print(Task_setCompleted(taskResourceId, content));

Availability

Version 5.8