Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
Is there any way to update a multi-value parameter list that is changed by another multi-value parameter list (in the same rule) while the rule is running? I'd like to get both lists updated once the rule has finished. Let me give you an example to explain my question better.
SyntaxEditor Code Snippet
MultiValue.SetValueOptions(True, DefaultIndex := 0) If TEST = True Then MultiValue.SetList("ABC", 10, 20, 30) If ABC = 30 Then MultiValue.SetList("XYZ", 1, 2, 3) Else MultiValue.SetList("XYZ", 7, 8, 9) End If Else 'TEST = No MultiValue.SetList("ABC", 40, 50, 60) If ABC = 40 Then MultiValue.SetList("XYZ", 11, 12, 13) Else MultiValue.SetList("XYZ", 90, 80, 70) End If End If
When I changed the "TEST" value, ABC will be updated the first time the rule runs but XYZ isn't updated it. I need to run the rule once again to update XYZ since it will see the new list of values of ABC. Is there any way to update both multi-value parameters only running the rule once (not twice)?
Thanks!
Solved! Go to Solution.