Hi,
I have created a workflow and where I have to send the email based on approval/Rejection of content . I am setting argument in reject step and I want to use the same in send email step which is the joining part of Approve and Reject OR split. Can anyone please tell me how to get it. I am using the below code but it seems be giving the value to the argument set in send email step only and not of the reject step. I am using AEM 6.3
if (args.containsKey("PROCESS_ARGS")){
log.info("workflow metadata for key PROCESS_ARGS and value {}",args.get("PROCESS_ARGS","string").toString());
}
Thanks in Advance