Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2718

Ruleflows are not working correctly in Stateless session

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Hide

      Make a simple ruleflow with two nodes. The first one is a ruleflowgroup, the second one is a script node. Each node should make a standard output. When starting the process in a statefull way, the two nodes make their work. In a stateless way, only the first node will make its output.

      Show
      Make a simple ruleflow with two nodes. The first one is a ruleflowgroup, the second one is a script node. Each node should make a standard output. When starting the process in a statefull way, the two nodes make their work. In a stateless way, only the first node will make its output.

    Description

      We are currently migrating from 5.0.1 to 5.1.1. and our RuleFlows are not working anymore. After some investigations it seems it could be related to the knowledgesession type (Statefull / Stateless). When launching a ruleflow in stateless session, it seems that the process stops it's execution after the first RuleFlowGroup found in the flow (maybe after some other node types ), and that without any reason nor exception/error trace.

      In attach, I made a ruleflow sample with two nodes (one ruleflow group and one script node). The nodes are only making a simple System.out.println. When executing it in Statefull session, we have two outputs. When executing it in Stateless session, there is only one output, this one of the RuleFlowGroup. The script node has not been executed as it should be. No exceptions were found in logs.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              mpulse_gregoire Gregoire Botquin (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty