Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-289

The job JobSchedulerCheckRunHistory should have some new possible values for the parameter query

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.9.10, 1.10.3
    • 1.9.11, 1.10.4, 1.11
    • None

    Description

      Current Situation
      The job JobSchedulerCheckRunHistory implements the query values

      • isStartedToday
      • isStartedTodayCompletedSuccessful
      • isStartedTodayCompletedWithError
      • isStartedTodayCompleted
      • isCompletedToday
      • isCompletedTodaySuccessful
      • isCompletedTodayWithError
      • isCompletedAfter
      • isCompletedWithErrorAfter
      • isCompletedSuccessfulAfter
      • isStartedAfter
      • isStartedWithErrorAfter
      • isStartedSuccessfulAfter
      • isCompletedBefore
      • isCompletedSuccessfulBefore
      • isCompletedWithErrorBefore
      • iscompletedwitherrorbefore

      It is not possible to query the last run of an job.

      Desired Behaviour
      The Job JobSchedulerCheckRunHistory should also implement the queries

      • lastCompletedRunEndedSuccessful
        • Return true if the last completed run ended successful
      • lastCompletedRunEndedWithError
        • Return true if the last completed run ended with error
      • lastCompletedRunEndedTodaySuccessful
        • Return true if the last completed run ended successful and the last run was today
      • lastCompletedRunEndedTodayWithError
        • Return true if the last completed run ended with error and the last run was today
      • lastSuccessfulCompletedRunEndedAtPosition(p)
        • Return true if the last completed run ended successful and the position in the history is p
      • lastWithErrorCompletedRunEndedAtPosition(p)
        • Return true if the last completed run ended with error and the position in the history is p
      • lastSuccessfulCompletedRunEndedTodayAtPosition(p)
        • Return true if the last completed run ended successful and the last run was today and the position in the history is p
      • lastWithErrorCompletedRunEndedTodayAtPosition(p)
        • Return true if the last completed run ended with error and the last run was today and the position in the history is p

      Attachments

        Issue Links

          Activity

            People

              ur Uwe Risse
              ur Uwe Risse
              Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: