Elijah Moreau-Arnott
08/30/2021, 10:39 PMget_task_run_result
to retrieve task results from the child flow, however I was getting errors where it couldn't find a task with the provided slug (which I had set to 'output') - I thought it was an issue with my results location until I realized that despite annotating the child task like so: @task(slug="output",result=GCSResult(...
the slug name (as visible in the context) was output-copy
. I now got get_task_run_result
working by grabbing the task with slug output-copy
but was unsure of how the -copy
came about. Is this documented anywhere?Kevin Kho
slug
to task
and use it inside a Flow block with Flow…
, then it will generate the copy. If you don’t provide the slug, the copy
won’t appear.Elijah Moreau-Arnott
08/31/2021, 2:49 PMget_task_run_result
from a separate flow required the use of named slugs to determine the desired taskKevin Kho
Zanie
Zanie
Zanie
get_task_run_result
but they are indeed a bit hard to work with right now. The next step in subflow result retrieval is making task slugs easier to find 🙂