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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

workflow to update a "unique" entity number field

(0) ShareShare
ReportReport
Posted on by 125

Hello everyone,

We are in the process of doing a data migration to our SharePoint instance because we have about 70gb of attachments in our data blob currently, and before we make the move to CRM online we need to make our data blob smaller for the sake of cost. 

We are using the OOB opportunity entity that we renamed to Programs, within this entity is we store the attachments (.docx,.jpeg,.pdf).

I have created a flow using PowerApps to migrate the attachments for our DB to our SharePoint and it works well. My problem is that SharePoint needs a unique naming scheme because it does not like folders with duplicate names, which is preventing all the programs from coming over because unfortunately we have duplicate names for our programs. so instead of using the Opportunity ID for the unique program folder name in SharePoint ( users would have a hard time correlating the Opportunity ID on the SharePoint folder to the correct account in CRM. Opportunity Id only shows up in the URL of the "program" or opportunity you are on.) we created a field called "Program  #"  on the form, this field will serve as our Unique ID folder name so that the migration goes smoothly.

This brings me to where I need help! I need help creating a workflow to update all of 5000+ programs # fields that are held in this entity. starting from the number 1. 

I have already created a workflow to AutoNumber the program # field for future program creations

Could someone give me some steps on how to do this? I am using CRM 9.0 on premise, SharePoint on premise and flow using legacy data connectors. 

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 107 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 64 Most Valuable Professional

#3
ParthPatel249 Profile Picture

ParthPatel249 62

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans