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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Record is created when BPF moves to previous stage

(0) ShareShare
ReportReport
Posted on by

Hi all,

I had a requirement to record stage duration of the current stage of BPF. So, I implement using the below link, which was exactly what I wanted.

https://d365goddess.com/track-opportunity-sales-stage-history/

But, I found out that it creates a record if we go back to previous stage and go next.

Plesae, help me through how can I stop creating the record if the user goes back to previous stages. I don't want another record to be created on the same stages.

 

Thank you.

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    You can try to add a field to the entity "Sales Stage History" to record the current stage, e.g. called Current.

    Add the two fields Previous and Current into the workflow.

    If the Current is a stage before the Previous, the workflow will not create the "Sales Stage History" record.

  • Community Member Profile Picture
    on at

    Hi Nya,

    thanks for the reply... I will implement that and let you know how it works.

  • Community Member Profile Picture
    on at

    Hi Nya,

    Tried to implement as suggested. But still got stuck

    I will try to explain more ..

    I have A,B,C,D,E stages on BPF. The user goes A to D stage and saves and for each stage new

    record for stage duration is created. Until this point its good.

    But, if he just goes to B stage and does changes and moves to C then again a new record is created which I dont want to do that.

    How can I achieve this, with the same WF.

    any help will be great..

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 120

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 92 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 83 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans