You are here: Survey management > Integrating a survey with your application > Calling a survey from a flow

Calling a survey from a flow

You can call a survey from a flow to collect information from users while they process a case. By using the Subprocess shape, you can integrate a survey with the life cycle of a case.

Tip: Use multiple subprocesses in the same flow to call a group of surveys in succession. This approach is helpful if you need to upgrade a deprecated survey group.

To call a survey from a flow:

  1. Open a flow in Process Modeler.

  2. On the Diagram tab, click the Shape palette icon and drag the Subprocess shape to a position on the flow diagram.

  3. Connect the Subprocess shape to other shapes in the flow.

  4. Double-click the Subprocess shape to open the Subprocess properties dialog box.

  5. In the Subprocess field, enter a name that describes the purpose of the subprocess.

  6. In the Subprocess details section, call a survey based on the type of your flow.

  7. Click Submit to close the Subprocess properties dialog box.

  8. Click Save.

By default, all questions in a flow are displayed on one screen, and each question page in a screen flow is displayed on a separate screen. You can change this behavior by defining a different display method for the survey.

Note: This functionality is available when you purchase and install the PegaSurvey application.