Refer to the exhibits.
A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.
What response message is returned to the web client?
Refer to the exhibits.
A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.
What response message is returned to the web client?
When the validation component in the Try scope throws an error, the On Error Propagate component within the Try scope handles it first by setting the payload to 'ERROR1' and rethrowing the error. This propagated error is then handled by the On Error Continue component in the main flow's error handler, which sets the payload to 'ERROR2'. Consequently, the final response message returned to the web client is 'ERROR2'.
D is correct
D is correct
D es la correcta
D is correct
D" is the correct option. I have builded this scenario in Studio and ERROR2 was the final response
A is correct
The answer should be Error2. When the error is getting rethrown due to on error propagate, it will be captured in on error continue and hence the answer is Error2. In case, if there is NO on error continue exception handling, the error will be validation error.