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 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,060 on at
    RE: Record is created when BPF moves to previous stage

    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
    RE: Record is created when BPF moves to previous stage

    Hi Nya,

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

  • Community Member Profile Picture
    on at
    RE: Record is created when BPF moves to previous stage

    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

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 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 271

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 91 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 76 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans