Complete an external worker job with an error
POST {{baseUrl}}/external-jobs/:jobId/error
Complete an external worker job with an error and share the error details back to workflow using variables. A job completed with an error can't be retried again by any other worker.
Request Body
{"workerId"=>"orderWorker-1", "variables"=>[{"name"=>"SampleVariableName", "type"=>"string"}, {"name"=>"SampleVariableName", "type"=>"string"}], "errorCode"=>"403"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |