Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2042

Add possibility to query failed Jobs

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • jBPM 3.2.6 GA
    • None
    • Runtime Engine
    • None
    • Low

      The JobExecutor decrements the number of retries every time an exception is thrown during execution of jobs. The exception stacktrace is saved in the Jobs.

      In the API (JobSession) I now add a method to query all failed jobs (where retries==0 and excpetion!=null) which will not be executed again by the JobExecutor.

      I added the method "findFailedJobs", the hibernate named query "JobSession.findFailedJobs" and a test case for it.

            aguizar_jira Alejandro Guizar (Inactive)
            camunda_jira Bernd Ruecker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: