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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow to populate Opportunity ID

(0) ShareShare
ReportReport
Posted on by

Hi, 

I'm trying to make a unique ID for opportunities. I found this tutorial online that piggybacks on the unique ID generated for Orders. Since our company won't be using that module it's ok. 

Instructions here:

https://blogs.msdn.microsoft.com/mvpawardprogram/2012/10/01/mvp-monday-generating-unique-ids-for-any-microsoft-dynamics-crm-2011-entity/

When an opportunity is created the workflow is supposed to trigger this:

1) create Order w/ order ID

2) update 'opportunity ID field' with 'Order ID'

3) close Order

I got the workflow to partially work. It does step 1 & 3, creates an order and cancels it, but nothing is updating in my Opportunity form. I have a text field for where my Opportunity ID should go, but it remains an editable field.

I tried testing it by entering some dummy text in other fields, but nothing populated.

Why isn't anything auto-populating even in my tests?

Any suggestions how to get this workflow to work correctly?

Thanks

*This post is locked for comments

I have the same question (0)
  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi,

    Can you include a pic of your workflow and the update properties?

    Thanks,

     Aiden

  • Community Member Profile Picture
    on at
  • Verified answer
    Community Member Profile Picture
    on at

    I spoke too soon, after saving it, closing and opening it again it updated my Opportunity ID field. I thought it would pre-populate my fields.

    I thought I checked saving and closing it before but it didn't populate. I was playing around with more settings to test, and changed it to 'as an on-demand process' when I noticed, but both versions work.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans