Task save

From Catglobe Wiki
Jump to: navigation, search



Task_save

Save the task

Syntax

Task_save(task)

Arguments

  • task: is an array which is task object.

Return value

empty

Example

string taskName = "New task";

number parentResourceId = 34778803;

string taskDescription = "Test test";

number taskTemplateResourceId = 34776159;

array newtask = Task_new(taskName, parentResourceId, taskDescription, taskTemplateResourceId);

print(Task_save(newtask));

Availability

Version 5.8