Complete an external worker job

POST {{baseUrl}}/external-jobs/:jobId/complete

Complete an external worker job as successful, with the worker id who is holding the lock on the specified job. The completion context can be shared back to workflow using variables.

Request Body

{"workerId"=>"orderWorker-1", "variables"=>[{"name"=>"SampleVariableName", "type"=>"string"}, {"name"=>"SampleVariableName", "type"=>"string"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring