Skip to main content
Solved

Can we write a condition using expression instead of using "change" operator

  • June 9, 2020
  • 1 reply
  • 151 views

Forum|alt.badge.img+8

Can we write a condition using expression instead of using "change" operator. I have a business rule where I have a condition using expression like below:

In the same expression can we also check whether PERSON_CAL_EXCEPT.START_DTTM has been changed or not. The intention is not to add one more input param “PERSON_CAL_EXCEPT.START_DTTM”  and not to rebuild the condition again with an additional line  for checking whether PERSON_CAL_EXCEPT.START_DTTM has been changed or not.

 

Please help if anybody has any suggestion on this.

Best answer by Lee Pinchbeck

Hi,

How I have seen this sort of thing handled before is to have a separate rule to check the old and new values for a field and to update a field (usually an unused user_def field) or create an event when the new is different to old.

You can then set the business rule to check if this value or event is present and, if it is, action the rule.

Hope this helps,

Lee Pinchbeck

View original
Did this topic help you find an answer to your question?

1 reply

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • 1219 replies
  • Answer
  • June 16, 2020

Hi,

How I have seen this sort of thing handled before is to have a separate rule to check the old and new values for a field and to update a field (usually an unused user_def field) or create an event when the new is different to old.

You can then set the business rule to check if this value or event is present and, if it is, action the rule.

Hope this helps,

Lee Pinchbeck


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings