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

The function for checking the job history in Jobs and Monitors should not return an error when the queried job does not exist or did not run

    XMLWordPrintable

Details

    Description

      Current Situation

      var jobHistory = new Packages.com.sos.jitl.checkrunhistory.JobHistory( spooler.delegate );
      var jobHistoryInfo = jobHistory.getJobInfo( jobName, 100, "" );
      

      does return an error when the given job not exist or did not run.

      COM-80020009  Ausnahmefehler aufgetreten. [step] [] [Z-JAVA-105  Java exception com.sos.JSHelper.Exceptions.JobSchedulerException: No entries found for job:issues/final_chain/do_something_job_chain_A, method=spooler_process()Z [], in Remote_module_instance_server::step], method=call
      

      Desired Behaviour
      No error should be returned when the given job did not run or does not exist.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: