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

Mount dependencies from Notice Boards to the Daily Plan

    XMLWordPrintable

Details

    • Feature
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • 2.7.3
    • JS7 Controller
    • None

    Description

      Current Situation

      • The JOC Cockpit manages the Daily Plan and creates orders from schedules for related days.
      • Workflows include ExpectNotices, PostNotices Instrucions and ConsumeNotices Instructions. Dependencies from such instructions are applicable to any day for which an order is scheduled for the workflow.
      • Users would like dependencies to be mounted to the Daily Plan. Example:
        • A given workflow W1 includes a PostNotices Instruction for a NoticeBoard NB1 that is referenced from workflow W2 using a ConsumeNotices Instruction.
        • If workflow W1 is scheduled for Mon-Fri and workflow W2 is scheduled for Mon-Sun then during weekends W2 will wait for Notices from Notice Board NB1 that are not created from W1.

      Desired Behavior

      • When receiving orders the Controller checks
        • if the workflow referenced by the order holds PostNotices Instructions.
        • if Start Position and End Positions optionally specified with the order include one or more PostNotices Instructions in the referenced workflow. This check excludes to verfify if a conditional flow by If Instructions will allow the order later on to execute the PostNotices Instructions.
      • If the above check is positive, then the Controller adds the Notice Boards referenced by PostNotices Instructions in the workflow to its Daily Plan Calendar. This is considered an announcement for future use of the Notice Board by a posting order (a Notice is expected).
        • The announcement is added at the point in time of receipt of an order which is required to happen before start of day for the given Daily Plan date.
        • The announcement can be revoked by a command sent from JOC Cockpit via the Proxy Service.
      • When an order meets ExpectNotices Instructions or ConsumeNotices Instructions in the workflow then the Controller will look up its Daily Plan Calendar for an announcement of related Notice Boards. If no announcement is available then ExpectNotices Instructions and ConsumeNotices Instructions will be evaluated from the expression configured with the instructions as if the Notice Board in the expression were null. If the expression evaluates to true then the instruction will be skipped:
          • One option for skipping includes to immediately execute the instructions inside the ExpectNotices Instructions and ConsumeNotices Instructions.
          • Another option for skipping includes to skip the ExpectNotices Instructions and ConsumeNotices Instructions and any included instructions and to continue processing with the next instruction.
      • The Controller allows operations on Orders and Notices to "close" the Daily Plan which includes to drop all Notices and Orders.
        • If no Orders are present any longer then the Controller automatically drops all Notices.
        • A command is offered to drop all Notices from the Daily Plan.
      • Notice Boards can be configured to be static or to be subject to the Daily Plan.
        • Notices Boards that should be subject to the Daily Plan are added the "dynamic" attribute (new behavior).
        • For compatibity, Notice Boards without the "dynamic" attribute are added by the Controller to each day of the Daily Plan Calendar which implements the previous behavior.
        • Notice Boards with the "dynamic" attribute are added to the Daily Plan Calendar in case that related orders exist for the given date.
      • The Controller makes information from its Daily Plan Calendar available to JOC Cockpit:
        • The list of Notice Boards announced for a given date.
        • The days for which a given Notice Board is announced.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ap Andreas PĆ¼schel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: