Yes/No Questions are used to collect information from the user, and then continue the flow based on the user's response. In the following example, you will design a Yes/No Question asking the user to confirm cancellation of an account (Do you really want to close your bank account?). The user will then see one of the following Statements, according to the response provided:

  • We're glad you are staying with us! (No response)
  • We're sorry to see you go. (Yes response)

The Interaction will appear as follows:

To design a Yes/No Question:

  1. From the toolbar, click IconQuestion, and then click inside the Interaction Map.
    The Question Definition dialog opens, with the General tab displayed by default.
  2. Enter a page title and a reference name in the appropriate fields.
  3. In the Prompt frame, in the Label textbox, enter Do you really want to close your bank account?
  4. From the Question's Type dropdown list, select Yes/No response.

  5. At the top of the dialog, select the Choices tab, and then specify the text for the options:
    • In the Yes text field, enter Yes.
    • In the No text field, enter No.

  6. Click OK.
    The Question Definition dialog closes.
  7. From the toolbar, click IconStatement, and then click inside the Interaction Map.
    The Statement Definition dialog opens.
  8. Enter a page title and a reference name in the appropriate fields.
  9. In the Display area, enter We're sorry to see you go. Then, click OK.
    The Statement Definition dialog closes.
  10. Repeat Steps 7-9 to create a second Statement element (to follow a No response). In the Display area, enter We're glad you're staying with us!
  11. Draw a Connector from the Question to the first Statement (the one to be connected to the Yes response).
    The Question Result popup opens.

  12. From the popup, click Yes.
  13. Draw a Connector from the Question to the second Statement (the one to be connected to the No response).
    By default, this Connector will be labeled No.
  14. To test the Interaction, right-click on the Question element, and then select Run.
    The Interaction is displayed in the Simulation pane.

Revision:

Comments