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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Process ID is NULL on Entities (Case and Letter)

(0) ShareShare
ReportReport
Posted on by

I have a plugin that execute code depending on the proces and the stage. It was possible to retrieve the ID of the process in CRM 2013, 2015 and 2016. But in CRM 365 the ID of the process and stage is NULL. I've tried with a plugin on update of the process entity but that didn't worked out. Any idea how to get this done?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Process ID is NULL on Entities (Case and Letter)

    In the previous versions, were you getting the ID from the plugin's context? Are you attempting the same in CRM 365?

  • Community Member Profile Picture
    on at
    RE: Process ID is NULL on Entities (Case and Letter)

    First i retrieve the object:

    OrganizationService.Retrieve(LogicalName, id, new ColumnSet(true)).ToEntity<T>();

    Following evaluate the process:

    if (this.Entity.ProcessId == LetterProcessID.ReportProcess.Id)

    But in CRM 365 "this.Entity.ProcessId" is NULL. Any ID why?

     

     

  • Verified answer
    mauriceCRM Profile Picture
    45 on at
    RE: Process ID is NULL on Entities (Case and Letter)

    Please have a look at http://develop1.net/public/post/Dynamics-365-Business-Process-Flows.aspx

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans