This example builds a wizard with the previous wizard JSON file and when 'age' step ends, wizard is paused (event 'paused'), test is going to add 10 years to age property, and then continue wizard.
When wizard ends (event 'end'), resultant object is showed in console.

You can use this public methods also:

getObject(): return a object with all info of the wizards (responses of user)

resetObject(): reset object clearing all of properties

getCurrentStep(): return current step id of wizard at this moment

getNextStep(): return current next step id (if exists) of wizard at this moment