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)

Get and Set Stage Ids for Dynamics CRM

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I am in the midst of a complex data migration operation where the customer is using stages and a variety of forms to show their data on the case entity.

As part of the migration of data (which I am using Scribe for), I would like to be able to retrieve the stage ids from CRM (possibly by name) and then associate those ids when I upload a case record.

For instance - the if the stages are - Start, Work on Case, Follow-up and Close - I want to be able to download the appropriate GUIDs for each stage, than apply that GUID to the stageid field when I upload the case.  The purpose here is that when the case opens it is already at the correct stage, representative of the data that is in it.

I'm pretty sure I'm going to have to download the stage ids in one step (possibly separate from my migration) as we'll be deploying in a number of environments where these ids could change.

Is there a way to get this information via the SDK?

Thanks - Greg

*This post is locked for comments

I have the same question (0)
  • Piotr Kalwasinski Profile Picture
    240 on at

    Hi,

    I would recommend building SSIS package for this job, as it will offer a "box" which will do your desired data transformation based on the bespoke condition you have. SDK's Migration Tool is not able to include condition logic like you described, but it would give you an ability to import all the IDs too,

    I hope this helps,

    Piotr

  • Suggested answer
    TheMarkChristie Profile Picture
    10,328 Moderator on at

    Hi

    I have used this method for imprting

    www.magnetismsolutions.com/.../programmatically-move-cross-entity-business-process-flow-stages-in-crm-2016

  • Suggested answer
    PS Profile Picture
    23,577 on at

    Hi Greg,

    Step 1: Take GUIDs from your existing system

    Step 2: Create a javascript, which checks GUID of the previous system and updates the current GUID on record opening

    Shall you need any help on Javascript, let me know, i have a sample available

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

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)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans