Steps to repro:
- Define workflow that has rules. Define local param in the rule.
- Execute the workflow once.
- Change the local param expression.
- Remove / clear workflow
- Add workflow again
- Execute the workflow again.
The rule engine is not using the new/modified local params part of the rule in the workflow.