When preparing a changeset we usually added components like a custom object, custom fields, pages, trigger, components, etc. I'm wondering if there is any order a changeset would get executed in a target salesforce org?



I had looked into audit trail CSV file of my deployment to understands the dependencies and by looking at that file the order is as following:

  • Pages- i guess first it just deploy empty pages
  • Custom Objects - with just fields
    • Track Field History
    • Validation Rules
  • Custom fields on Standard object
  • Page layouts
  • Custom Tabs
  • Custom Apps
  • Apex Classes
  • Apex Trigger
  • Manage Users (Profiles)
  • Page - i guess this time it deploy the code and overwrite empty page
  • search layout

You can use "setup audit trail" option in setup menu to understand your deployment order.

  • I guess, Page can't be deployed first (they will have controllers/extension associated with them). – Rajendra Singh Nagar Jul 11 '14 at 6:01
  • No it just create empty create empty page first and after controller is deployed then it update the page. – AtulRajguru9 Jul 12 '14 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.