The job logic is executed in several steps that you can use to your advantage when handling errors or implementing more complex logic.
Assuming automatic serialization, the steps are executed sequentially, the next step in sequence is executed only if the previous step has finished successfully:
Validate an incoming HTTP request and check if required parameters are present. Resolve graph parameters using incoming HTTP parameters.
Start job logic in order to process request payload and generate response payload, set an HTTP status code and headers.
Build an HTTP response, set the final HTTP status code, headers, serialize response payload and transfer the HTTP response back to the caller.