+ Start a Discussion
OldDeadBugOldDeadBug 

Auto-Number fields in the Order of Execution????

At what point does the auto-number field get generated during an insert, and is it available in the record prior to the first Before Insert trigger (that is before the Workflows are evaluated and field updates are fired)?
micwamicwa
Autonumber fields are not available in the before insert trigger.
OldDeadBugOldDeadBug

OK, so there are now two insert triggers - pre Workflow and post Workflow. I'll assume you mean the field isn't available on the pre Workflow Before trigger, but is available on the pre Workflow After trigger, and therefore on the post Workflow Before trigger?

 

Right?