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)

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

    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

    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

    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…

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