How do I get the real values of the input params i...
# ask-the-community
f
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
@Frank Shen, you can unwrap Promises only in Flyte tasks. You can’t access them within a workflow.
f
That’s a limitation. Why cannot it be done in the workflow?
@Samhita Alla @Kevin Su
s
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
101 Views