Providing optional steps with AddSupportStepsProvider

The createAddSupportSteps method return an array of all the steps in the wizard.
I have a use case where a step visibility depends on the chosen value on a previous step.

Is this possible ?
I thought the isStepVisible method in AddSupportStep would do the trick but as it turns out that method is invoked for all steps before they are shown which makes it impossible to use it because i still don't know what the user selected at that time.

Please sign in to leave a comment.