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 CRM (Archived)

how to cancel a large number of system jobs

(0) ShareShare
ReportReport
Posted on by

Help, I created a monster and need to delete a large number of system job that are waiting for resources.  How can I solve this quickly?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: how to cancel a large number of system jobs

    Create bulk delete job to delete all the system job based on your condition. To do this go to settings->Datamangement->Bulk delete

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: how to cancel a large number of system jobs

    You can refer this thread also:

    community.dynamics.com/.../205301

  • Verified answer
    CRASH Profile Picture
    2 on at
    RE: how to cancel a large number of system jobs

    Hi,

    As Rajkumar suggested, you can create a bulk delete job by following these steps-->

    1.) Go to Settings-->Data Management-->Bulk Record Deletion

    2.) Click on new, it will present you a screen to configure, what records you want to delete.

    3.) Select system jobs in looking for, mention your conditions to filter data, like in your case, status reason= waiting for resources.

    4.) Unselect Run this after every Boolean, if you want to do this just once.

    5.) Submit your request.

  • Community Member Profile Picture
    on at
    RE: how to cancel a large number of system jobs

    Hi All,

    Same issues here also. I need to delete un wanted bulk delete jobs in dynamics365-on prem. Since I can delete only cancelled jobs. I am trying to change statuscode of bulk delete jobs from "waiting" to "canceled" using c#. 

    Below screenshot shows my code.

    QueryExpression_5F00_tocancelsysjob.PNG

    Above code gets executed without any error but status code update is not happening. Please let me know the way to delete / cancel bulk delete jobs using c# plugin.

    Thanks in advance.

    Regards,

    Swathi.

  • Wiz Kevin Rulloda Profile Picture
    on at
    RE: how to cancel a large number of system jobs

    As far as i know only cancelled system jobs are valid for deletion.

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 CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans