I have a requirement where in I need to use SlingHttpServletRequest in my workflow process step. Can we get SlingHttpServletRequest from WorkflowSession? Also I have a resource object can I get SlingHttpServletRequest from resource? Can some one please guide me?
AEM 6.5
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Lavita, SlingHttpServletRequest is not available in workflows in general. It's because workflows are not working in request context. You can not get SlingHttpServletRequest from resource as well.
The main question is why you need SlingHttpServletRequest object on your workflow process step, what exactly you would like to get from request?
Hi @Lavita, SlingHttpServletRequest is not available in workflows in general. It's because workflows are not working in request context. You can not get SlingHttpServletRequest from resource as well.
The main question is why you need SlingHttpServletRequest object on your workflow process step, what exactly you would like to get from request?