Automatically advance workflow step based on value in custom activity

I have a workflow with several custom activities. The first step presents the user with radio buttons so they can select certain options.  Once they click 'next', depending on what option they selected, I would like them to automatically advance that second step/custom activity without having to click 'next'.  Depending on the user selection in the first step, they should either be displayed a text box for additional information, or automatically advance to the third step.

Alternately, is there a way when using check boxes or radio buttons, when clicked I can hide or unhide a text box or other object?  I believe this is not supported, but want to verify.

Thanks in advance!

  • It looks like I can use $workflow.ActivitySuccess() to advance to the next custom activity in the workflow.  So if user selected option A radio button, automatically transition past the next step.  If user selected option B, unhide text box to get additional information.