Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3957

Variable history log does not contain changes done by a rule task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 6.0.0
    • 6.0.0
    • Business Central
    • None

      Description of problem:

      I have a process definition with a single rule task. The rules gets the process variable "results" and adds strings. After the rules task is finished, I print the process variable in script task to see all the set strings (that is correct and they are printed well). Then, the process is completed and when I see the history log of the process variable "results", there is only initialization [] and none changes.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1. Start the attached process definition which uses the business rules drl file (also attached)
      2. See output in server log:

      14:01:26,638 INFO [stdout] (http-localhost/127.0.0.1:8080-11) Before RuleTask
      14:01:26,641 INFO [stdout] (http-localhost/127.0.0.1:8080-11) firstRule
      14:01:26,644 INFO [stdout] (http-localhost/127.0.0.1:8080-11) secondRule
      14:01:26,646 INFO [stdout] (http-localhost/127.0.0.1:8080-11) After RuleTask
      14:01:26,646 INFO [stdout] (http-localhost/127.0.0.1:8080-11) [firstRule, secondRule] // here is the content of "results" variable
      14:01:26,653 INFO [stdout] (http-localhost/127.0.0.1:8080-11) thirdRule

      3. Check the process variable history log in Process Variables view in Business central

      Actual results:

      Expected results:

      Additional info:

              swiderski.maciej Maciej Swiderski (Inactive)
              ibek1@redhat.com Ivo Bek
              Ivo Bek Ivo Bek
              Ivo Bek Ivo Bek
              Ivo Bek, Kris Verlaenen, Marek Baluch, Vikram Goyal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: