web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Rebuilding environment...
Power Apps
Unanswered

Rebuilding environments from source (ALM) - diffs in CDS workflows

(0) ShareShare
ReportReport
Posted on by

Microsofts ALM best practices state that you should be able to rebuild your environment from source.  i.e.  

 

  1. Export solution from CDS, unpack solution.zip with solutionpackager /action:extract, then check into source control
  2. Completely reset environment (via admin portal or DevOps pipeline) 
  3. Install any dependent managed solutions
  4. Extract from source control, pack solution with solutionpackager, then import into source control.

This works fine.  However when the next export and solutionpackager extract is done there's a number of diffs present - Mainly for CDS workflows, where GUIDs within the XAML change.

 

How can this be prevented?

I have the same question (0)
  • BenediktB Profile Picture
    50 on at

    Hej pcole,

    what exactly do you mean with "CDS workflows"? Are those custom workflows you created and are therefore included in your solution or are you talking about standard OOB workflows?

     

    //Benedikt

  • Community Power Platform Member Profile Picture
    on at

    Apologies, perhaps I should have been more clear, my issue is with Classic Workflows, created in the old Solution Explorer (not flows)

  • BenediktB Profile Picture
    50 on at

    No worries. I got that.

    I just wonder if you are referring to classic Workflows you created or some that come with dynamics.

  • Community Power Platform Member Profile Picture
    on at

    These are classic (sync) workflows that we created.

  • MattB-MSFT Profile Picture
    Microsoft Employee on at

    Depending on how your workflow is built,  if its referencing specific records in CDS, it does that by ID,  thus you will see those ID's change from export to export.. 

     

    Can you share a snipet of whats changing to help answer your question?

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Anonymous ,

     

    Unfortunately this is by design and cannot be prevented. As the previous user stated, within a classic workflow, there can be many references to data such as the Owner of the Workflow which would change if the deployment user/account is different or records GUIDs within workflow steps (e.g. assign a record to a Team/User) that might differ between the different environments. Also components that might change frequently are security roles for child business units as they are rebuilt upon solution import. 

     

    Hope this clarifies!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard