Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1762

Reference to a Workflow in an AddOrder Instruction should be updated if a prefix or suffix is used for import

    XMLWordPrintable

Details

    Description

      Current Behavior:

      When importing a folder with a prefix or suffix added to the zip file name, the workflow names in the folder get adjusted according to the added prefix or suffix. However, the AddOrder instruction's workflow name does not change and remains the same as specified before importing the workflow.

      Steps to reproduce:

      • Create a folder named “test”.
      • Create 2 workflows in it, named as w1 and w2.
      • In the workflow named “w1”, add an AddOrder instruction called “a1” which triggers workflow "w2"
      • In workflow "w2", add some jobs to it.
      • Recursively export the entire “test” folder.
      • Now, import the same folder and while importing, add a prefix or suffix (e.g., “import”) to the zip file name.
      • The workflow name will be adjusted according to the added suffix or prefix.
      • However, in the AddOrder instruction, the workflow name will remain the same as specified before importing the workflow.

      Desired Behavior:

      When importing the folder with a suffix or prefix, the name of the AddOrder instruction's workflow should also change according to the added suffix or prefix specified during import.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            rajrani-upadhyay Rajrani Upadhyay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: