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

On using "AddOrder" instruction in a workflow the workflow is not visible in the Workflow tab

    XMLWordPrintable

Details

    Description

      Current Situation

      In a workflow after using the "AddOrder" instruction, the workflow is not visible in the Workflow tab.

      The joc.log file displays the below error:

      java.lang.ClassCastException: com.sos.inventory.model.instruction.AddOrder cannot be cast to com.sos.inventory.model.instruction.Cycle

      How to Reproduce

      • Create a new workflow from the configuration tab.
      • Use an "AddOrder" instruction anywhere in the workflow.
      • Deploy the workflow
      • Switch to the Workflows tab and navigate to the folder in which the workflow was created.
      • The created workflow with AddOrder instruction does not appear in the Workflows section. Only, workflows without the "AddOrder" instruction appears in the Workflows section.

      Desired Behavior

      After using the "AddOrder" instruction in a workflow, the workflow should be visible in the Workflow tab.

      Attachments

        Activity

          People

            oh Oliver Haufe
            divyani-rathore Divyani Rathore
            Divyani Rathore Divyani Rathore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: