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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Changing http status code on Event trigger of process

Avatar

Level 4

Hi,

Did anyone try changing HTTP Status COde from 200 to 4XX or 5XX in process in case OOB event for exception is triggered?

I have created process in Workbench where we are consuming JSON as body input and passing it through few business specific exceptions and OOB provided Exceptions like FileUtilsExceptions, Since processis invoked correctly but some validation failure or file operations failure can we pass the response with error description and HTTP STATUS code to != 200

Any pointers

AEM 6.2 on JBOSS

WorkBench 6.2

Manu

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now