lukethacoder / fflib.dev

⚡ Unofficial and semi-opinionated fflib documentation - Apex Enterprise Patterns
https://fflib.dev
MIT License
6 stars 0 forks source link

Issue with fflib Framework Auto-Assigning AccountId in TriggerFeedback for “Triggers” #6

Open santosh-gummakonda opened 1 month ago

santosh-gummakonda commented 1 month ago

Summary: We are experiencing an issue with a trigger utilizing the fflib (FinancialForce Apex Common) framework in our Salesforce instance. The trigger is designed to remove the AccountId from a record when a specific checkbox is checked. However, despite the trigger's logic, the AccountId field is being automatically reassigned due to the behavior of the fflib framework.

Details: Trigger Objective: To clear the AccountId field when a particular checkbox is marked as checked. Observed Behavior: Instead of the AccountId being cleared, it is automatically re-assigned by the fflib framework. Framework: fflib (FinancialForce Apex Common) Impact: This issue is blocking the completion of a critical story in our development pipeline, potentially affecting our delivery timeline. Steps to Reproduce: Check the specific checkbox No Assigned Patient field designed to trigger the removal of the AccountId. Observe that the AccountId remains or is re-assigned, contrary to the trigger logic. Requested Action: We need assistance in resolving this conflict between the trigger logic and the fflib framework's auto-assignment behavior. This may involve adjusting the trigger logic, configuring the fflib framework settings, or implementing a workaround that aligns with our requirements.

Priority: High – This issue is urgent due to its impact on a critical story in our development process.

Please advise on the best course of action to resolve this issue. Thank you for your prompt attention.