Jacqueline Riley Garrahan
05/18/2022, 5:51 PMKevin Kho
05/18/2022, 6:05 PMget_task_run_result
task to fetch the result for the specific task?Jacqueline Riley Garrahan
05/18/2022, 6:21 PM>>> state.result # the public property aliases the same API as above
{<Task: add>: <Success: "Task run succeeded.">,
<Task: add>: <Success: "Task run succeeded.">}
>>> state.result[task_ref]._result # a Task State's Result contains the Task's return value
<Result: 1>
Kevin Kho
05/18/2022, 6:24 PMget_task_run_result
and then point that to the task slug of the upstream flow and you will get the result loaded in.Jacqueline Riley Garrahan
05/18/2022, 6:27 PMKevin Kho
05/18/2022, 6:30 PMget_task_run_result
points to the return
of a specific task in a previous flow run. You can map over this task too if you provide all of the task-slugs.Jacqueline Riley Garrahan
05/18/2022, 6:41 PMKevin Kho
05/18/2022, 6:41 PM