Josh P
08/26/2026, 12:05 PMAnthony OConnor
08/26/2026, 12:40 PMJosh P
08/26/2026, 12:48 PMAnthony OConnor
08/26/2026, 12:51 PMafterSubmit - 'B',k then your beforeSubmit IS working its writing its change successfully to the database - it literally can't do ANY more than that
Anthony OConnor
08/26/2026, 12:51 PMAnthony OConnor
08/26/2026, 12:53 PMJosh P
08/26/2026, 12:57 PMPengfei Zheng
08/26/2026, 12:57 PMB in afterSubmit but later appears as Pending Approval, I’d compare System Notes timestamps and the execution context/user that made the subsequent change.
I’d also test the same transaction manually in Sandbox and monitor the status immediately after save and again after a short delay. That could help determine whether the status is being changed synchronously during save or by a scheduled/asynchronous process afterward.Josh P
08/26/2026, 12:59 PMAnthony OConnor
08/26/2026, 1:00 PMPengfei Zheng
08/26/2026, 1:01 PMbbeach
09/09/2026, 4:09 PMJosh P
09/09/2026, 4:15 PMJosh P
09/09/2026, 4:16 PMbbeach
09/09/2026, 4:36 PMJosh P
09/09/2026, 4:37 PM