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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Help with Plugin to track how much time entity spent in each of business process stage

(0) ShareShare
ReportReport
Posted on by 25

  Hello!

  I need to write a plugin that does the following: we have a custom entity named Business Stage Run with fields like:

  

  "Stage Id", "Stage Name", "Next Stage Id", "Next Stage Name", "Duration", "Process Id", "Process Name", "EntityName", "EntityDescription", "EntityId
  When an entity in Dynamics change its business state, it should create a new record of the given entity with the fields above.
  I know Dynamics keeps track of business in an entity (e.g Oportunity have an entity called Oportunity Sales Process I think, with fields like activestageid), so I thought to write a plugin on update of those fields? But I'm a bit clueless about how to do it. Do you guys have any ideas?
  Thanks! Lucas.
I have the same question (0)
  • Suggested answer
    Johao Larios Profile Picture
    1,795 on at

    Hello Luvas!

    You could registered the plugin on update stage an filter it by fields:


    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/best-practices/business-logic/include-filtering-attributes-plugin-registration

    I have used this a lot of times and is very helpful on these kind of scenarios. 

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 > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans