Is it possible to acquire a list of the agent tasks?

I am trying to create a screen for that lists all the current agent tasks in a table and has a button on each row that allows the user to run the agent task at will. My plan for the button is to use the system.eam.runTask feature to allow us to run the agent task that we want.

My question is is it possible for me to get a list of the current agent tasks on the gateway? I see there are several eam functions that allow me to get a list of all the agents and their statuses and their histories, but I don’t think I see anything for the tasks themselves.

Thanks!

What version of Ignition are you using?

In 8.3 this would be possible with the REST API.

Hello,

We are using ignition version 8.1.48. Can you give me a solution that works with this version?

Thank you.

No. There's no supported way to get this information.
In a scripting context it would be possible, using unsupported internal methods; starting from a GatewayContext and pivoting to the gateway network subsystem. You can take a look at the Javadocs and see if you can find a path to get there.