Hi team,
This is was one of the useful finding from our team - to get the list of microflows that are currently running in task queues. I thought it would be good idea to share this in community.
Basically whtever we are running in task queues, mendix keep this data in one of the entity called "queuedtask". We can use this entity know what are currently running in task queues by extracting data from entity.
Example using OQL:
SELECT id, sequence, status, queueid, queuename, contexttype, contextdata, microflowname, useractionname, arguments, xasid, threadid, created, started, retried, "system$owner", scheduledeventname, retry, startat FROM public."system$queuedtask";