setTask

Helper function to edit the active and complete flags on a task.

Version

2.0

Parameters

Parameter Type Description
wfstr string Name of the task to edit.
isOpen string Edits the “active” flag on the task. If “Y” activate the task, if “N” close the task.
isComplete string Edits the “complete” flag on the task. If “Y” set the task to complete. If “N” set the task to incomplete.
processName (optional) string Optional process name that the target task resides in.

Example

To set a task to inactive/complete:

setTask(“Peer Review”,”N”,”Y”);