-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Describe the bug
During trigger execution, criteria/action can be executed several time whatever the value set in DomainProcessBinding__mdt.PreventRecursive__c
As a result this can lead to additional limits consumption.
To Reproduce
I think I managed to reproduce the issue in my repo with a unit test:
master...simon-nowak:at4dx:preventRecursive
Expected behavior
I think any developper would like to be able to prevent recursive execution during a transaction. Projects like DLRS or flows can lead to recursive execution.
Version
Present in last version
I might have a few spare days this week and next week. If this is a feature that need to be implemented inside the framework, I would like to try to fix it.
I'm not 100% sure how this should work:
- Can "prevent recursive" be applied for to criteria AND actions ?
- If "prevent recursive" is applied what is the expected behaviour? Should it filter by "records" already evaluated, or be less precise and only focus on being called once?
Metadata
Metadata
Assignees
Labels
No labels