POST Workflow Instances Instance Id Restart
The POST /Workflow/Instances/{instanceId}/Restart method is used to restart the workflow instance with the specified GUID. This can be used either after it has reached a failed state and the failure has been corrected (e.g. a CA
was not responding when an enrollment
was attempted or a PowerShell script failed to run to completion) or midstream while it's still active but in a suspended state waiting for signals to introduce a new version of the workflow definition. The workflow instance will restart from the beginning. This endpoint
returns 204 with no content upon success.
Table 835: POST Workflow Instances {instanceid} Restart Input Parameters
Name | In | Description |
---|---|---|
instanceId | Path |
Required. A string indicating the Keyfactor Command reference GUID of the workflow instance to restart. Use the GET /Workflow/Instances method (see GET Workflow Instances) to retrieve a list of all the workflow instances to determine the GUID. Note: When you restart an instance, it will be issued a new instance ID.
|
version | Body |
An integer indicating the version number of the workflow definition. If no version is specified, the workflow will be restarted using the most recently published version. |

