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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans