I have an app with a custom form (using user-specific columns). The form spreads out over 5 screens. The screens are linked using “Next” Buttons with the Action “Show New Screen”.
Now I changed the action to “Custom Action” from step 1 to step 2 (I added an if condition to check if all fields were filled).
Result: All subsequent screens are lost
How can I maintain a series of screens as described without having to re-create the layouts all the time? This really drives me crazy.
mmm, this is a bit of a trap, and I suspect you’re not the first one to be caught out like this (I have).
There is no easy answer to this I think, other than “be very careful”.
One thing you can do is adopt a practice of always starting with a custom action, no matter how simple it is. 95% of the time you won’t need it, but I find that it’s a good habit to get into - just for that 5% of the cases where you’ll be glad you did it
In addition to what Darren said above, you should use “Show details screen” instead of “Show new screen”, assuming you’re building it in a new table with only one row, which is usually referred to as “working table”. “Show new screen” screens will be lost once you accidentally change the action. “Show details screen” will not.
You could start by duplicating that tab. Then as you are recreating your flow use the ‘copy all’ feature (from your duplicate screen) and then ‘paste all’ into your new screens.
And yes, it’s always good practice to start with a custom action.