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

Péter Kun

01/26/2024, 2:17 PM
Hi all! I am trying to reach the nodes of a dynamic workflow in an execution by FlyteRemote, but it is not working. Here are the steps I've taken so far: Fetch the execution using FlyteRemote:
Copy code
exec = remote.fetch_execution(project, domain, execution_name)
Retrieve the ID of the dynamic node execution:
Copy code
dynamic_node_exec_id = remote.client.list_node_executions(exec.id)[0][3].id
Obtain the ID of the dynamic task execution:
Copy code
dynamic_task_id = remote.client.list_task_executions_paginated(dynamic_node_exec_id)[0][0].id
Attempt to list node executions for the task, but I get an empty list:
Copy code
spawned_nodes = remote.client.list_node_executions_for_task_paginated(dynamic_task_id)
What is the problem with my approach and how is it supposed to work? Any help is appreciated!
s

Samhita Alla

01/29/2024, 5:50 AM
looks like a bug to me. would you mind filing an issue? [flyte-bug]
p

Péter Kun

01/29/2024, 9:35 AM
Sure, thank you!