Conditions are created in the same way as conditions for standard wizards.
For more information, see Step 3: Creating Conditions.