Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10255

BusinessRuleTask no longer maps rule output to custom wrapper process variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.71.0.Final
    • KieServer
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • ---
    • ---

      BusinessRuleTask no longer maps rule output to custom wrapper process variable

       Steps to Reproduce

      1. Define process variable of type ProcessVariable (custom wrapper).
      2. In the process, create a Business Rule Task , linked to ruleflow group RuleExecution
      3. The DRL used:
      4. ruleflow-group "RuleExecution"
        rule "RuleExecution_test"
        when
        output : ProcessVariable()
        then
        output.put("SKIP_VERIFICATION", "YES");
        end

       
       

      1. Connect Business Rule Task → Exclusive Gateway that checks SKIP_VERIFICATION.

             6. Execute the process.

      • The rule fires successfully (confirmed by System.out debug logs).
      • ProcessVariable.put("SKIP_VERIFICATION", "YES") executes as expected.
      • Immediately after rule execution, the process variable seen by the gateway is empty  
      • The Exclusive Gateway takes the “NO” path.

              kverlaen@redhat.com Kris Verlaenen
              abhijithumbe@gmail.com Abhijit Humbe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: