Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
2.5.9, 2.6.0, 2.7.0
-
None
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:
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.