Expand my Community achievements bar.

Set status code in Workbench Process?

Avatar

Level 3

How do I set the status code (500) when I detect that input is not correct? I guess this is no ordinary Output variable?

1 Reply

Avatar

Level 2

BjornEricsson wrote...

How do I set the status code (500) when I detect that input is not correct? I guess this is no ordinary Output variable?

 

Processes returns 500 code when there is an exception. 

While, I haven't done it myself, try if you are able to throw an Exception event.