Screen Size testing in a workflow

Is their a reason why I can’t check the screen size in a workflow? Some screens are complicated enough that having small/large screen size components/containers really make the layout editor complicated. I would prefer two ‘screens’ instead of jamming everything into one screen.

The workaround is calling the workflows from two identical buttons (hidden appropriately): one a ‘small’ button and the other one large. I would prefer calling one workflow which test the screen size and takes the user to either a ‘small’ screen or a ‘large’ screen.

Inquirying minds…..

TIA

If you’re talking about a user‑triggered workflow, one workaround is to store the screen width in a User Profile property, then use that value to branch inside the workflow. For example, you could have “if Screen Width < X go to Small Screen, else go to Large Screen.”

I’m also curious about your use case though. In many setups you’d already have two sets of components (large and small) on the same screen, and Glide will show the appropriate ones automatically based on the user’s device.

Is the main issue that your screen is getting too cluttered in the layout editor, so you’d rather maintain two separate detail screens and route users between them via the workflow?