# Ignition Execution Manager Status

**URL:** <https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810>\
**Category:** Module Development\
**Created:** [August 14, 2023, 2:55pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810 "2023-08-14T14:55:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtdfan](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jtdfan](https://forum.inductiveautomation.com/u/jtdfan)\
**Post date:** [August 14, 2023, 2:55pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/1 "2023-08-14T14:55:29Z")

</div>

We have a few modules that run tasks using the shared execution manager. We have had a couple of them fail for some reason and become unregistered from the execution manager. We are not sure why. In the meantime, we would like to monitor the task status. How do we get that? It appears on the shared execution enginer status page.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/8/58008ff228a553458ea358adc6188af5e84b02aa.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 14, 2023, 3:01pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/2 "2023-08-14T15:01:49Z")

</div>

It's not technically "public" API, but the ExecutionEngine is probably an instance of `BasicExecutionEngine`, which has a `::getTasks` method that takes an owner and returns a `TaskStats` with info about the tasks for that owner.

---

<div class="post-metadata">

**Author:** ![jtdfan](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jtdfan](https://forum.inductiveautomation.com/u/jtdfan)\
**Post date:** [August 14, 2023, 3:24pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/3 "2023-08-14T15:24:19Z")

</div>

> [@Kevin.Herron](#):
>
> ExecutionEngine

And how would I get the Execution Engine from the Gateway Scope?

We are currently using gatewayContext.getExecutionManager().register to register our tasks.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 14, 2023, 3:25pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/4 "2023-08-14T15:25:09Z")

</div>

oops, I meant the `ExecutionManager` is probably an instance of `BasicExecutionEngine`.

---

<div class="post-metadata">

**Author:** ![jtdfan](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jtdfan](https://forum.inductiveautomation.com/u/jtdfan)\
**Post date:** [August 14, 2023, 3:34pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/5 "2023-08-14T15:34:00Z")

</div>

Great!

I see I can get the task statuses. I also saw in the sdk documents for TaskStatusEvent. Is that an event that can be subscribed to?

Josh

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 14, 2023, 3:35pm UTC](https://forum.inductiveautomation.com/t/ignition-execution-manager-status/77810/6 "2023-08-14T15:35:05Z")

</div>

I think that's something related to EAM tasks, not the ExecutionManager.
