closeTask#
Approve or reject an approval task
Format#
udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md) [\[global-flags...\]](../../com.udeploy.reference.doc/topics/cli_command_format.md)
closeTask [JSON file]
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 passed to approve, fail or any other value to fail"
}
Related REST command: Approve or reject an approval task.
Parent topic: CLI Commands