Surveys are available to those having access to the PegaSurvey RuleSet.. See Understanding surveys.
You can add a survey or a survey group to a flow. PegaSurvey includes a section and sample subflows to handle both individual surveys and survey groups.
There are three ways to add a survey to a flow:
You can add a survey, or a specific page of a survey, to a flow action by adding the section SurveySection to the flow action and specifying the survey it is to display. You also need have the flow action reference the activity SetupQuestionnaire and pass it the survey name as a parameter.
Locate the SurveyDriver flow. When you call it as a sub-flow from your process flow, it requires the following values:
Optionally:
When the survey is complete, the survey driver routes the work item to an Operator or Workbasket for further processing, with an SLA assigned to that step and the status of the work item updated. The sub-flow then hands control back to the main flow.
To add a multi-page survey as a screen flow, call the flow SurveyDriverScrFlow. Configure it as for SurveyDriver, above. Each page of the survey appears as a single screen as the user navigates through it.
Locate the SurveyGroupDriver flow. When you call it as a sub-flow from your process flow, it requires the following values:
When the surveys are complete, the survey driver routes the work item to an operator or workbasket for further processing, with an SLA assigned to that step and the status of the work item updated. The subflow then hands control back to the main flow.
Flow
Screen Flow |
|
Understanding surveys
|