Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2158

Unable to delete deployed Workflow from inventory due to existing Daily Plan orders

    XMLWordPrintable

Details

    Description

      Current Situation:
      When attempting to delete a deployed workflow that is attached to a released schedule and has Daily plan orders which are in submitted state, the workflow cannot be removed from the inventory.
      The submitted, finished, and planned orders are not deleted, and the UI displays the following error message:
      “Orders are still attached to the controller.”

      As a result, the workflow configuration remains in the inventory and cannot be deleted.

      Steps to Reproduce:

      • Create a workflow W1 and a schedule S1, and attach W1 to S1.
      • Deploy the configuration and release the schedule so that Daily Plan orders are created in the Submitted state.
      • Copy an order, paste it on the same date, and use the Let Run button to run the copied order until it reaches the Finished state.
      • Attempt to remove the workflow W1 from the inventory.

      Observe that an error message is displayed stating that orders are still attached to the controller, and the workflow is not deleted.

      Desired Behavior:
      When removing a workflow configuration from the inventory, all associated orders across all states should be removed first, after which the workflow should be successfully deleted from the inventory.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            gautam-vadera Gautam Vadera (Inactive)
            Aakash Rao Aakash Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: