Skip to main content

I need to retrieve older inactive version of flow from UAT and push that into Dev sandbox. 

How can we do that in VS code? 

 

 

 

#Salesforce Developer

답변 1개
  1. 2025년 2월 21일 오전 7:56

    Hi @Praswanth Pamireddy

     

     

    To retrieve an older, inactive version of a Flow from your UAT environment and deploy it to your Development Sandbox using Visual Studio Code (VS Code) and Salesforce CLI (SFDX)  

     

    Sample code is below and replace the flow API. 

     

    sfdx force:source:retrieve -m "Flow:<Flow_API_Name>-<Version_Number>

     By referring the below links, you can successfully retrieve and deploy a specific version of a Flow between Salesforce environments using VS Code and SFDX.  

     

    https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_visual_workflow.htm?utm_source=chatgpt.com

     

     

    https://www.reddit.com/r/SalesforceDeveloper/comments/ty8prf/is_possible_to_deploy_a_specfic_version_of_a_flow/?utm_source=chatgpt.com

     

     

    https://docs.copado.com/articles/#!copado-ci-cd-publication/how-to-deploy-flows-using-salesforce-api-version-v-44-0

     

     

     

    Thanks, 

    A. Gobinath

0/9000