Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3221

Imperative workflow suspends indefinitely on circular graphs

XMLWordPrintable

      A circular workflow (steps which refers to previous step) will cause the blueprintsprocessor to suspend indefinitely. This needs to be prevented.

       

      example workflow

       

      "steps" : {
        "assign" : {
          "target" : "resource-resolution",
          "on_success" : [ "deploy" ],
          "on_failure" : [ "assign-recover" ]
        },
        "assign-recover" : {
          "target" : "execute-script-1",
          "on_success" : [ "assign" ],   <---- circular reference
        },
        "deploy" : {
          "target" : "execute-script-2"
        }
      

       

            jozsef jozsef
            jozsef jozsef
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: