Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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.