How can I run sling Job manually
Hi Team,
Did anyone run the sling job manually instead of schedular helping to trigger the job. ?
Any help is highly appreated.
Thank you
Hi Team,
Did anyone run the sling job manually instead of schedular helping to trigger the job. ?
Any help is highly appreated.
Thank you
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/422368
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.