can we programatically manipulate the HTTP status code that is returned by a HTTP connector?

  • 8 February 2024
  • 1 reply

Userlevel 2
Badge +4

When we receive a json containing data and the task that processes the data fails (incorrect foreign key for example) the response json is always returned with status code 200 OK.
Can I change that?
I see it is an output parameter but in the documentation isn't clear about if it is editable.

1 reply

Userlevel 6
Badge +4

Hello @Alban_T,

Yes, this is possible by using a custom protocol process flow. Please check this two part blog post on how you can achieve this. Note that when calling this process flow, the URL should contain an /open/ segment, like this:


I hope this helps.