https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nicholas Roberson

05/18/2023, 3:17 PM
How can I get the status of a list of tasks running in a dynamic task using
flytekit.remote
? I have the execution information and can sync it for the workflow, however I want to be able to give a user in a CLI a command they can run to check the status of a large job (amount of tasks in RUNNING, SUCCEEDED, FAILED, etc..)
I can do this for the dynamic task, however I am finding it hard to do for the 1k tasks that it is running underneath it.
Or even better, get the status from python of the tasks in a
map_task
execution
j

Jay Ganbat

05/18/2023, 8:40 PM
does the dynamic task spawns a subworkflow?
if its spawning just a task you could infer the execution ids right
n

Nicholas Roberson

05/19/2023, 3:25 PM
Yeah we have a @dynamic task call
map_task
on
n
inputs. We could guess the exec id from that yeah.
j

Jay Ganbat

05/19/2023, 4:25 PM
so syncing the dynamic node did not return the child map tasks?
7 Views