https://flyte.org logo
Title
f

Frank Shen

11/11/2022, 8:38 PM
How do I get the real values of the input params in the workflow function to operate on them instead of passing them directly to the tasks?
s

Samhita Alla

11/12/2022, 7:20 AM
@Frank Shen, you can unwrap Promises only in Flyte tasks. You can’t access them within a workflow.
f

Frank Shen

11/14/2022, 5:13 PM
That’s a limitation. Why cannot it be done in the workflow?
@Samhita Alla @Kevin Su
s

Samhita Alla

11/14/2022, 6:40 PM
Workflow’s a structure showcasing the order in which the tasks need to run. Here’s more info on what promises mean and why we structured the workflow in such a way: https://flyte-org.slack.com/archives/CP2HDHKE1/p1667193020425949?thread_ts=1667190302.416979&cid=CP2HDHKE1