Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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