- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 01:19 PM
Hey Folks,
I am trying to execute a after update type business rule to copy "variable" value to "comments" field.
But the condition should be like, "when variable value changes" copy the value to additional comments.
In a business rule filter conditions "changes" operator is not available.
How can I achieve this?
Thanks,
Rocky.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 01:22 PM
can you try condition in script like
current.variables.XXXXX.changes()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 01:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 01:20 PM
Hi Mike - I know this is an old post and I'm hoping you're still around to assist. I used this solution (yay!) to successfully trigger an event based on the business rule that matches a condition like this. However, I'm finding that if I change the value of the variable from a Flow, the business rule does not run. It only seems to run if manually changed by a user. Do you know if there is a limitation with how the variable is changed that would prevent the business rule from meeting the condition?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2020 01:23 PM
you need to use business rule condition like below
current.variables.test == ""
Regards,
Sachin