Support Portal ContactGet in touch

Checking System Jobs in Dynamics

   Words by Paul McQuillan

   on 12/04/2018 16:00:00

While we may not be a Developer, we may still want to check whether a custom piece of logic in Dynamics CRM is running correctly.

These custom pieces of logic are typically Plugins written by a CRM Developer to implement some bespoke actions or integration on trigger of a certain event – such as the creation of a new Oportunity or an update to an existing Contact.

If we find that this logic within CRM is not taking place or not working correctly then we can check the list of System Jobs in CRM to see if the Plugin is raising an Error that will explain why this is not working.

To do this, we can navigate into the Settings Area of Dynamics and then into System Jobs.

This will present a list of the System Jobs taking place in CRM and whether these are Waiting, In-Progress, Succeeded or Failed.


Reviewing the list of System Jobs

Failed System Jobs indicate where a Workflow or Plugin has tripped an error and so failed to execute normally.

To understand why this has Failed we would need to drill down into the Code and see what is going wrong – which would be a task for a developer.

However we can help this process by opening the Failed System Job, viewing the error and then highlighting this to Development:


Drill-down into a specific Failed System Job

So in the above example, we have a piece of Plugin Logic that is attempting to read a Field in CRM that does not exist.

As the Contact Entity in CRM does not have a ‘customerid’ field and so the Plugin is raising this error at the point in the code that is trying to read this non-exisitent field.

Once passed back to the original developer, this can be corrected to the right field ‘parentcustomerid’ and the Plugin fixed to perform the logic successfully.

This list of System Jobs in CRM then forms a key source of information for fault-finding in Dynamics when normal (or newly added) logic is not working correctly.

In many ways, this list of System Jobs can then work like the Event Log for a Server or Workstation, giving us a blow by blow account of Successful, Warning or Error Events to indicate the health (or otherwise!) of the system.

Similarly to the Event Log, System Jobs logs almost everything happening in the Back-End Servers of Dynamics and so lists events for:

  • Plugins
  • Workflow
  • Reoccurring System Jobs
  • Calculation Jobs for Rollup, Calculated Fields or Goals
  • Database Tasks such as Reindexing or Data Imports

These Events are being performed by the Asynchronous Service in the Back-End Dynamics Server, so if we see many ‘Waiting’ Events that are neither Failing nor Succeeding then this can be example of where the Asynchronous Service has Stopped or Failed, however this is quite rare.

Like almost any other set of Records in CRM, we can query the list of System Jobs using the Advanced Find to pick out or filter on certain types of Job – this can be helpful to just review System Jobs that are a result of Workflow, or to check the Sysem Jobs for how CRM is handling Server-side sync of Emails.


Using the Advanced Find to only view System Jobs relating to Mailbox Tests (for Server-side Email Sync)

So whilst the remediation may be in the realm of development, we can use these System Jobs to help identify problems and understand their root cause – and as this also applies to non-development activities such as Workflow and System Configuration, is a key eye for any Functional, Support or Development analyst working with Dynamics.

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

CRMCS Quick Start Guide: How To Produce a Microsoft Teams Live Event Dynamics 365 Marketing: Lead Scoring and Sales Acceptance Designing and Developing Microsoft Power Apps Portals Thank You for Attending CRMCS’ Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Thank You for Attending Our Webinar - Achieving B2B sales excellence with Dynamics 365 & Microsoft Teams Webinar: Discover How CRMCS Have United Dynamics 365, SharePoint and Microsoft Teams To Create Sales Excellence Ignite your workflow by adding DocDrive365 to Office 365 The CRMCS guide to everything you need to know about integrating Teams with Dynamics 365 Saving Time By Keeping Documents In One Place TDE Database Encryption with On Premise Dynamics The Key to Successful Compliance in 2020 Part 2: Let’s get GDPR Compliant with Microsoft Power Automate Top 3 Essential Tips for Remote Working Dynamics 365 Marketing: Top 5 Best Features Dynamics Day in the Life - Puma Investments Can you use Teams to amplify collaboration in Dynamics? Part 1: Using a Scheduled Power Automate to Trigger Expiry Date Reminders The secrets of successful document collaboration in Dynamics CRMCS launches new AppSource approved DocDrive365 Dynamics Day in the Life - Moneypenny Release Management Add the App to Dynamics DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Building a New Scheduled Process using Flow
  • "Paul has made a real difference to how my team of 24 people record and store valuable customer data and sales opportunities. Highly recommended."

    James, Operations Director

  • "Understanding your business allows us to advise when to implement aspects of CRM and, likewise, when not to."

    Paul McQuillan, Managing Director

  • "Dynamics 365 and CRMCS have made a real lasting difference to our business, allowing us to replace older systems that were holding back our performance."

    Grahame, Chief Operating Officer

  • "James worked well with us to help connect CRM with Outlook and relate how this might benefit our team using CRM for Property Care."

    Natalie, Property Care Supervisor

  • "Matt was really good with helping us run User Testing on the new Compliance Module of our CRM System."

    Tom, Compliance Administrator

Prefer to go old-school?

Write to us using the below addresses.

Head Office
CRM Consultancy
61 Oxford Street
M1 6EQ

London Office
CRM Consultancy London
Grosvenor Avenue

Content © CRM Consultancy.