The Wizard infrastructure supports the ability to fire a process flow based on a user's interaction with the buttons at the bottom of the wizard. Each wizard page can be linked to one or more process flows on the Pages record's Process Flows tab.

A wizard designer can specify that a process flow should execute based on one of the following events:

One of the primary uses for this functionality is to enable conditional logic to move between pages in a non-linear fashion. For example, in the sample Opportunity Knocks wizard described above, a user may not have Line Items to enter for a new opportunity. In this case, the user experience could be improved by first asking the user if he or she has Line Items to enter. If the user clicks Yes, then the wizard should display the Line Items page; if the user clicks No, then the wizard should skip the Line Items page (step 3) and proceed directly to Step 4.

Follow these steps to link a process flow to a trigger event within the wizard:

  1. Open the Wizard Pages record to which you want to attach a Process Flow.
  2. Click the Process Flows tab.
  3. Open an new Process Flows record.
  4. Select the event Type from the drop-down list.
  5. Specify the Process Flow to fire when the trigger event (specified in the Type field) occurs.  

    Attaching a Process Flow to a Page
  6. Click OK to save and close the Process Flows record.
  7. Click OK to save and close the Pages record.
  8. Save the Wizards record.