Hey Flyte team! Can flytekit conditionals be used ...
# ask-the-community
l
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.
s
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
103 Views