-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
6.0.0
-
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: