Hello @Nezla,
The %SYS.Task class has the task details which includes the status of the task. The "Suspended" column has value if incase the task is errored out while running ("Suspend Leave" ) or the task is suspended ("Suspend Reschedule"). Based on this column you can find out the suspended /errored task. Use the below query for the TaskName and additional details.
select Name,Status,TaskClass,Suspended from %SYS.Task- Log in to post comments
.png)
.png)