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

API order object provides a method to start an order

    XMLWordPrintable

Details

    Description

      Current Situation

      • Permanent orders cannot be started by use of the API. They can be started by use of the XML command <modify_order at="now"/>

      Workaround

      • Use of the XML command <show_job_chain/> to retrieve the orders of a job chain.
      • Use of the XML command <modify_order/> to change order attributes and e.g. to start an order via <modify_order at="now"/>

      Desired Behavior

      • The API provides methods to retrieve a permanent order (JS-878, JS-557) and to start it
        var order = job_chain.get_order("some_id");
        order.start("now");
        

      Maintainer Notes

      • Modifications to an order that is not handled by the current task are not persistent, i.e. they will be lost in case of a JobScheduler restart. Therefore we will not develop this feature for the JobScheduler API. Start of orders can be already effected by use of the XML API.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ur Uwe Risse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: