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:
Open a flow in Process Modeler.
On the Diagram tab, click the Shape palette icon and drag the Subprocess shape to a position on the flow diagram.
Connect the Subprocess shape to other shapes in the flow.
Double-click the Subprocess shape to open the Subprocess properties dialog box.
In the Subprocess field, enter a name that describes the purpose of the subprocess.
In the Subprocess details section, call a survey based on the type of your flow.
In the Flow name field, press the Down Arrow key and select SurveyDriver.
In the RoutingType field, select Operator or WorkBasket, based on who answers the questions in the survey at run time.
You can then provide the name of a work queue or the ID of a user in the RouteToWorkbasket and RouteToOperator fields, respectively.
Optional: In the SLA field, press the Down Arrow key and select a service-level agreement that defines the suggested and required completion times for the survey.
In the Flow name field, press the Down Arrow key and select SurveyDriverScFlow.
In the RouteToOperator field, press the Down Arrow key and select the ID of the user who answers the questions in the survey at run time.
Click Submit to close the Subprocess properties dialog box.
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.