I’m mocking up a flow of a process which contains accordions that should be conditionally expanded or collapsed based on what step the user is in the process.
I know the easy way to do this is to create a screen for each step of the process with the relevant accordions manually changed to their collapsed or expanded states, but it would be lovely if there was a way to do this via variables.
Ex: if a component is meant to shown on step 1, then its expanded/collapsed boolean would be tied to a conditional. Something along the lines of “If processStep = 1, show. Else, hide.” And so on for all the other components.