Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Workflow not working

(0) ShareShare
ReportReport
Posted on by 260

Hello,

I have actually created a workflow to fill the custom field in account form. The field should be filled by the date when the account status changes from active to inactive i.e need to fill the date when account gets deactivated. But i am not able to get it.

1220.Untitled.png

Here is what i have implemented. Anyone could suggest some better option?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow not working

    Hi Drashti,

    if you solved the problem thanks to an answer, please mark it as verified to encourage the community to provide more and more a better support. Thank you. Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow not working

    SDK Operation: If a process is triggered in a specific SDK operation, it can not be deleted.

    Input Entity: A process depends on a snapshot of a record transmitted to the workflow.

    Local Parameter: A formal description of a .NET property that will be defined by the process type.

    Have to see which one meets your flow needs.

    Good luck and have a good day.

    Ismael Nunes

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow not working

    Hi Drashti,

    you need to set the following options (please note i converted the workflow to real-time):

    1616.Cattura.PNG

    Hope it helps!

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow not working

    Hi,

    As it is a background workflow it will run after the account has been deactivated. Thus Nobody can update it ( even your workflow). So you should change it to a real-time worflow.

    Moreover why have checked the record is created? You don't need that, you will just slow down your async workflow.

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Workflow not working

    Hi,

      you have user-scope there - may need it to be "organization":

    http://blog.profad.com/crm-3/defining-scope-using-workflows-in-microsoft-dynamics-crm-2011/

      Also, since that workflow will, essentially, run for inactive account, I'm not sure if it will work (try selecting "ondemand" checkbox and see if you can get the field updated when you run that workflow on an inactive account). If there are errors because of that, you should be able to see them when you click "Process Sessions" on that screen you posted

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans