Skip to main content
Version: Next

Complete job

POST 

/jobs/:jobKey/completion

Complete a job with the given payload, which allows completing the associated service task.

Request

Path Parameters

    jobKey int64required

    The key of the job to complete.

Body

    variables objectnullable

    The variables to complete the job with.

    property name* anynullable

    Additional properties allowed.

    result objectnullable

    The result of the completed job as determined by the worker.

    denied booleannullable

    Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a Task Listener can deny the completion of a task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.

Responses

The job was completed successfully.

Loading...