In service rest when we can configure error handling in service activity itself so why do we need this to configure in response tab?

In service rest when we can configure error handling in service activity itself so why do we need this to configure in response tab?

REST services use standard HTTP status codes, but these cannot be set directly inside an activity; instead, they must be configured in the Response tab based on execution results. The Response tab also handles infrastructure-level failures, such as authentication or request-mapping errors, that happen before the activity begins. It supports different response formats for success and error cases by conditionally applying the right data transform or mapping logic.
Additionally, it can queue failed requests for later processing when defined error conditions are met.

But in service activity itself we can configure a jump step say if StepStatus fail then we can do jump to a later step and do a property set as pyHTTPResponseCode=400,isnt it?

Yes, that’s correct. But Response tab is still needed because some failures happen before the activity runs at all, like authentication, authorization, or request-mapping errors. In those cases, your jump step and property-set logic never execute.

Thank you @RameshSangili