1

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml?

See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the changeset we deployed from a Dev sandbox.

I extracted the changeset that contained 300 components from our Dev sandbox and found out it has a package.xml that has the list of all the components we previously deployed.

I'm thinking of just using the package.xml to recreate the changeset in the UAT sandbox via Workbench. Is this possible?

If not, is there any other way we can recreate a changeset using the package.xml?

Thanks.

3

I don't believe you can actually recreate the Change Set, as such... but I'm not sure you need to. Workbench can do both the retrieve and deploy using the package you're speaking about.

You can retrieve the entire package using Workbench by going to Migration | Retrieve, and entering the change set name as the package name. You can retrieve the package, download it, and then redeploy it anywhere you wish with Workbench (Migrate | Deploy).

If you need to "reretrieve" the package from a different sandbox, simply use the package.xml file to retrieve the updated metadata from whatever sandbox you wish to retrieve it from (by uploading the package.xml as an unpackaged manifest on the retrieve screen). (You can edit the package.xml file to add/remove items as needed).

  • I just followed your instructions regarding the "reretrieve" of the package on a different sandbox and I was able to do it via Workbench. It's not really what I had in mind, but it's one solution that we can use. What will happen now for our deployment to Pre-Prod environment is that, we'll use the Deployment option in Workbench instead of the usual deployment in Salesforce. Thank you for your answer, this is an incredible help for us! – Jerard Dela Victoria Sep 25 at 6:09
  • 1
    Glad I could help, Jerard. – Chris Johnson Sep 25 at 13:51

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.