I have setup a server action where I return a 500 response using the SET RESPONSE step.
This step comes after an UPDATE QUERY step.
The response I get from this server action is ALWAYS 200, no matter what I set the status code to.
But, if I just move the response step above the UPDATE QUERY step, it starts working correctly.
Response comes in as whatever the status code I set - 400,500,200 - whatever.