View sling job status programatically for the completed jobs
Not able to view JobStatus of completed jobs.
Tried these steps but not working:
jobManager.getJobById(jobId)
jobManager.findJobs(JobManager.QueryType.ALL, TEST_JOB_TOPIC, -1);
This returns only the failed or GIVEN_UP status ones
jobManager.findJobs(JobManager.QueryType.HISTORY, TEST_JOB_TOPIC, -1)
AEM version AEM 6.5.15