New answers tagged

7

I found, all the way back in 2018, that batches do not execute in the context of the System.runAs user during test executions (read more here, and feel free to upvote that idea to fix this broken behaviour). I believe you are simply seeing the same for a different async process. Recall that async processes are actually executed during the Test.stopTest ...


0

The key here is the order of execution (before triggers, before save flows can manipulate the values of fields presented to them before the database commit occurs): Check to see if the fullcopy sandbox includes code that: Has a before insert trigger (SMEQuoteLineItemTrigger) that nulls out QuoteLineItem.UnitPrice Has a before-save record-triggered flow that ...


Top 50 recent answers are included