taskCloseAllExcept

Closes all tasks on the record except for tasks in the list wfTask1… wfTaskn. If you only supply the parameters pStatus and pComment, the function closes all tasks on the record.

Version

1.4

Parameters

Parameter Type Description
pStatus string Status to assign to tasks.
pComment string Status comment to add to tasks.
wfTask1 … wfTaskn (optional) string Names of tasks to exclude. Enter one or more tasks separated by commas, each in double-quotes.

Notes

Before the function closes each task, the function updates the task as follows:

  • Status = pStatus

  • Status Date = current date

  • Status Comment = pComment

  • Action By = current user