Salesforce PDII Question Answer
A developer is working with existing functionality that tracks how many times a stage has changed for an Opportunity. When the Opportunity’s stage is changed, a workflow rule is fired to increase the value of a field by one. The developer wrote an after trigger to create a child record when the field changes from 4 to 5.
A user changes the stage of an Opportunity and manually sets the count field to 4. The count field updates to 5, but the child record is not created.
What is the reason this is happening?
Salesforce PDII Summary
- Vendor: Salesforce
- Product: PDII
- Update on: Jul 28, 2025
- Questions: 202