I have a requirement where I can take time-stamp as input in page properties for scheduled_activation/deactivation. Not able to pass the time-stamp date taken from user to scheduled_activation workflow. I am able to hit it by wfsession.getModel("").
If anyone can guide me for how I can pass this time-stamp for scheduling, to the scheduled_activation workflow from my custom servlet.
Thanks.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Using the below snippet you can get the payload information which will return the page path within the workflow.
workItem.getWorkflowData().getPayload().toString();
Once you have the page path, you can convert into a Resource and get the page properties information which holds the time-stamp.
Thanks!
Using the below snippet you can get the payload information which will return the page path within the workflow.
workItem.getWorkflowData().getPayload().toString();
Once you have the page path, you can convert into a Resource and get the page properties information which holds the time-stamp.
Thanks!
Yep, it can work for a single page.
Hi @nirbhays3027754,
Please find the same use case here: https://aem4beginner.blogspot.com/how-to-trigger-workflow-in-aem-using.
Hope this helps.
Thanks,
Kiran Vedantam.
Getting 404 for the included URL.