function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NerijusNerijus 

Trigger executes twice on first execution Trigger.new and Trigger.old values are the same

Hi everyone,

I have this weird behaviour which I can't figure out.
There is a trigger on SBQQ__QuoteLine__c (Salesforce CPQ) object which fires twice. I'm trying to print some logs as I was not able to access values I wanted and I notices that trigger printing these values:
User-added imageLine 14, 15 is before and 33, 34 is after update. On the first iteration new and old values are the same and on the second I get values I actually supposed to access.
There's only one other trigger on this object and it is from Salesforce CPQ package itself so I can't see what's going on there.