Notifications

7 views

Description

When user add new work notes on a record and click on the post button, or updates any field on the record, approvals are skipped

Cause

1) The approval Group table is extending the task table.
2) There is a query BR running on the Task table.
3) This query BR will also trigger on Approval Group table.

Here is the sequence of activities:
1) Change request work note was updated
2) Query business rule triggered on Approval Group table
3) At the same time Workflow broadcast event executed on Approval Group activity
4) Since the query in Query BR is evaluated to False, this activity got skipped.

Resolution

It is not a good practice to have query BR on task table since this will be executed for all the tables extending to the task. Please make sure you update the condition in Query BR.

Article Information

Last Updated:2019-11-27 04:40:40
Published:2019-11-27