Solved

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

  • 9 June 2020
  • 1 reply
  • 143 views

Userlevel 3
Badge +7

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.

icon

Best answer by Lee Pinchbeck 16 June 2020, 14:37

View original

1 reply

Userlevel 7
Badge +24

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