Hiya! I'm trying to find some examples on how crea...
# ask-the-community
j
Hiya! I'm trying to find some examples on how create an imperative Flyte workflow using BranchNodes (conditionals). Conditional sections (using
conditional
) can only be used inside a workflow context according to docs, but I presume it should be possible to setup a workflow graph using BranchNode's directly. however, I'm not familiar enough with the internals of Flyte to figure out how to put things together. some simple example would help a lot though.
t
I had the same problem. It seems like its not currently supported. https://flyte-org.slack.com/archives/CP2HDHKE1/p1698179319780539?thread_ts=1696930950.909549&cid=CP2HDHKE1 I had a way that made it work on remote but I couldn't get it working on local runs and apparently that would be non-trivial.
j
thanks, will take a look! (should have searched Slack first...) I think I'm actually fine if it only works on remote runs as I could deal with local runs in a different way (even if not ideal).
k
we should support this eventually, but needs some work