Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1276

The order object is not available in spooler_task_after() anymore

    XMLWordPrintable

Details

    • Fix
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.5.3192
    • None
    • None

    Description

      The order object given by spooler_task.order is not available in spooler_task_after() anymore. The behaviour of the current release of JobScheduler 1.3 (1.3.12.3087) is different in this case. Here it is possible to get the order object and - if it's necessary - change the properties of the order (see sample below).

      It is often no alternative to use spooler_process_after(), because in this monitor the exit_code of the task is not available (it is always 0).

      Monitors like this has to work furthermore:
      function spooler_task_after(){
      if (spooler_task.exit_code == 2)

      { spooler_task.order.state = "300"; }

      }

      Attachments

        Activity

          People

            ss Stefan Schädlich (Inactive)
            ss Stefan Schädlich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: