Hey Flyte team! Can flytekit conditionals be used inside dynamics? I noticed that they say that have to be used within a workflow just trying to understand if its used in a dynamic that is then used in a workflow thats ok.
10/21/2022, 3:45 PM
Hi THanks for your question. yes, conditionals should certainly be usable within dynamics - and are designed to do so.
The difference between a dynamic workflow and a regular workflow is that regular workflows are executed to create a DAG at registration time and dynamic workflows are executed to create a DAG at runtime. so essentially they operate the same, only one works at compile time and one at runtime