Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Task setApprovalDeadline

From Catglobe Wiki



Task_setApprovalDeadline

Set a task's approval deadline

Syntax

Task_setApprovalDeadline(taskResourceId, deadline)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • deadline: is an array which must follow the format of date time array generated by getDateTime function. If empty is used, the task's approval deadline will be cleared

Return value

empty

Example

Task_setApprovalDeadline(15891801, getDateTime());

Task_setApprovalDeadline(15891802, empty);

Availability

Version 5.6