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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow cleanup

(0) ShareShare
ReportReport
Posted on by 185

Hi Folks,

Today, I was looking into my system jobs(Worklflow)and found that there are 100K + of them in waiting status reason. The reason being the user who created workflow is now inactive. Is there anyway to run this jobs on a schedule basis. I had this similar issue previously it was Onprem able to fix. But this time its online.

Please let me know if there us any workaround.  

Thanks and Regards

Ravi. B

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ravi,

    please refer to:

    crmtipoftheday.com/.../scheduling-daily-bulk-delete-jobs

    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+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • ravibachanagiri Profile Picture
    185 on at

    Hi Francesco,

    Thank you for the reply. I was trying to resume my workflow not to delete them.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ravi,

    if the problem is the user is inactive, you have to:

    1) deactivate workflow

    2) assign to crm admin o active user

    3) reactivate it

    Then:

    1) if you cant delete all old jobs, reactivate temporarly the user

    2) otherwise delete them

    Please let me know.

    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+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • ravibachanagiri Profile Picture
    185 on at

    Hi Francesco,

    Thanks for the reply. I knew this process and implemented in the past but my current client doesn't want to activate the user also there are around 100K jobs in waiting state and I don't think this solves my problem. If there are very few records then I can proceed as said above, but not for such huge number of records as I have. 

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ravi,

    you should persuade your client to reactivate the user, eventually modifying his role to avoid any unwanted update over excluded entities.

    Then proceed as shown.

    Please let me know.

    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+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ravi,

    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+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans