Hello Arun,
In workflow participant step I wanted to show list of Approvers. The approver list will change based on the payload (page) belongs to which site(site based approvers).I am getting the approvers list form the custom AEM user Group through a data source populated as drop down.
When I am opening the payload and try to complete the workflow step, I am getting the current page path by using
Enumeration values = getRequest().getHeaders(REFERER);
if (values != null)
{
while (values.hasMoreElements())
{ pagePath = (String) values.nextElement();
}
}
But when I am trying to complete the workflow step directly from AEM Inbox, then I am not getting any information about the payload in the data source code because the page path as localhost:4502/aem/inbox.
I am trying to achieve the above