This section describes a methodical approach to troubleshooting tasks that do not run as expected.

In this Topic:

### Step 1: Verify the Task Did Not Run¶

Query the TASK_HISTORY table function to verify the task did not run. It is possible that the task ran successfully but the SQL statement in the task definition failed. In particular, note the scheduled and completed times, as well as any error code and message.