Notifications

6 views

Issue

Symptoms

Incorrect condition on a business rule firing the event may send multiple notifications

Release

Any supported release

Cause

Incorrect condition on the business rule (which fires the event specified on the Notification).

Resolution

[code]When there is a Notification defined to run when a specific event is fired.
And the business rule which fire the event has an incorrect condition specified, it will skip that condition and evaluate the remaining if any.
This may lead to sent out multiple necessary Notifications.

Ex:
If there is a Business rule on "sys_history_set" with an Advanced Condition: !current.id.demand_manager.changes() && (current.updated != previous.updates)
Notice the 2nd part of the condition, it has current.updated != previous.updates
There is no "updated" field on the "sys_history_set" table.
It should be current.updates != previous.updates.

Article Information

Last Updated:2019-08-02 20:36:34
Published:2019-07-24