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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans