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

Apex Data Loader Export



Is there any way to update an object's field when we are exporting data using Apex Data Loader? I mean can we write any trigger or workflow to update the object's field? Or a trigger gets executed only during inserts/updates??

Thank you.


A trigger cannot execute Apex code when querying data. Only on the 4 following events : creation (insert), edit (update/upsert), delete, undelete.

You will have to code your update based on the data you will have extracted => do a second round as an "update" using dataloader