I have some elements in a screen flow that should only show in Classic UI, and others that should only show in Lightning UI. I haven't found a way to choose which to show based on the current UI the user was in when launching the flow (Lightning or Classic).
Is there any way I could set these conditions? If not, I'll create one flow for Lightning and another one for Classic, just wanted to see if this could be avoided.
EDIT: Could my first element in the flow be an apex action that checks the current runtime when the flow is being run, and save that in a variable to use in a decision element / component visibility condition later on?