https://flyte.org logo
#ask-the-community
Title
# ask-the-community
j

Jimmy Mårdell

11/23/2023, 10:58 AM
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

Thomas Newton

11/23/2023, 12:11 PM
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

Jimmy Mårdell

11/23/2023, 12:41 PM
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

Ketan (kumare3)

11/23/2023, 7:11 PM
we should support this eventually, but needs some work