Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Set status code in Workbench Process?

BjornEricsson1
Level 3
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
PriyankP
Level 2
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.