Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Question about unexpected duplicate workflows being created on change of field on an entity

Posted on by 355

Hi all.

I'm trying to implement a process that'll create a work flow but wait until a preset date for the workflow to fire, but I'm running into some weird issues.  The example is an entity with a 'Begin Date' field and a workflow that triggers when 'Begin Date' is changed and basically waits to execute until the 'Begin Date' which would go in as the Postpone Date.  

When the 'Begin Date' field is changed the new work flow is created as expected with the proper Postpone date which equals 'Begin Date', but if 'Begin Date' changes a second work flow is created and both it and the original work flow have their Postpone Date changed to the new 'Begin Date'.  This basically causes the work flow to execute twice at the new 'Begin Date' which is not what I want.  And each time 'Begin Date' changes a new Work Flow is created where all prior work flows are changed to have the same Postpone date.  

My hope is that we only have one Work Flow and it's Postpone Date would change accordingly as the 'Begin Date' changes on the Regarding Object.  How can we do this?  I looked at ways to detect an existing workflow and delete it, but I haven't had much lunch in doing that.  

Thanks for any insight.

*This post is locked for comments

  • Suggested answer
    TNS Profile Picture
    TNS 1,195 on at
    RE: Question about unexpected duplicate workflows being created on change of field on an entity

    Hi sam..

        As I understand you want to run a workflow ....In which a Postponed date change when begin date change......

     so..for this you can simply run a workflow on the change of begin date ..

    If..I assumed your condition wrong, then you can describe it more..

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans