Hi Team,
Did anyone run the sling job manually instead of schedular helping to trigger the job. ?
Any help is highly appreated.
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
There is no OOTB option for manually running a Sling Job, but you can accomplish this by implementing a custom workflow step.
Begin by creating a shared utility class and service. Then, invoke these utility class and services within the scheduler method. To facilitate manual runs, design a custom workflow step (or servlet) that incorporates the same utility class and services.
This setup successfully fulfills both needs: scheduled automatic execution and the ability to initiate the process manually.
Similar discussion is available here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sling-scheduler-aem/td-p/4...
There is no OOTB option for manually running a Sling Job, but you can accomplish this by implementing a custom workflow step.
Begin by creating a shared utility class and service. Then, invoke these utility class and services within the scheduler method. To facilitate manual runs, design a custom workflow step (or servlet) that incorporates the same utility class and services.
This setup successfully fulfills both needs: scheduled automatic execution and the ability to initiate the process manually.
Similar discussion is available here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/sling-scheduler-aem/td-p/4...
Thank you @Mahedi_Sabuj
Views
Replies
Total Likes
@Sumit30908642ioye You can check this one out - https://medium.com/@toimrank/aem-sling-jobs-c4ebbb849d68
Thank you @Harwinder-singh
Views
Replies
Total Likes
Views
Likes
Replies