closeTask

Approve or reject an approval task

Format

udclient [global-args...] [global-flags...]
  closeTask [JSON file]

Parameters

Table 1. Parameters
Parameter Type Required Description
taskId string true The ID of the task.

Template

This command takes a JSON request string or file. Use the following template for the request:
{
  "comment": "Comment to close the task with",
  "p:Property name": "Property value (Optional, 
  Repeatable)",
  "passFail": "Submit pass to approve, fail to fail"
}

Related REST command: Approve or reject an approval task.