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

File Order Source should be valid after adding file variable to workflow

    XMLWordPrintable

Details

    Description

      Current Situation

      • Create workflow W1 without defining variable file
      • Create file order source FS1
      • Assign W1 to FS1
      • FS1 becomes invalid as W1 does not declare variable file
      • Open W1 and declare variable file
      • Open FS1
      • FS1 is shown as valid in the configuration view
      • FS1 is show as invalid in the Object tree.
      • Deploy FS1
      • An error message is shown: "fileordersource is neither valid nor already deployed:"

      REQUEST: ./inventory/deployable
      PARAMS:

      {"onlyValidObjects":true,"withVersions":true,"path":"/fs","objectType":"FILEORDERSOURCE"}

      USER: root
      2024-07-23T09:51:30,729 ERROR qtp520022247-70 c.s.j.c.JOCDefaultResponse - JocDeployException: com.sos.joc.exceptions.JocDeployException: fileordersource is neither valid nor already deployed: /fs
      com.sos.joc.exceptions.JocDeployException: fileordersource is neither valid nor already deployed: /fs
      at com.sos.joc.inventory.impl.DeployableResourceImpl.deployable(DeployableResourceImpl.java:96) ~[sos-webservices-joc-2.7.2-SNAPSHOT.jar:?]
      at com.sos.joc.inventory.impl.DeployableResourceImpl.deployable(DeployableResourceImpl.java:56) ~[sos-webservices-joc-2.7.2-SNAPSHOT.jar:?]

      • Execute "Edit Json" for the FS1
      • Submit
      • FS1 is shown as valid in the configuration view
      • FS1 is show as valid in the Object tree.
      • Deploy FS1
      • Success

      Desired Behavior

      When adding the file variable to a workflow that is assigned to a file order source, the file order source should be valid and deployable.

      Attachments

        Activity

          People

            oh Oliver Haufe
            ur Uwe Risse
            Aakash Rao Aakash Rao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: