You can assign different values to the questions in a survey, based on the answers that users provide. By calculating a total score, you can use a survey as a quiz or generate a number that corresponds to an attribute in a case, such as a risk classification for a user who is applying for life insurance.
Click Designer Studio > Case Management > Survey to open the Survey Management landing page.
Click the name of a survey that contains questions with Type set to Multiple check boxes only.
For each question in the survey, perform the following steps:
Click the question to open the Edit question dialog box.
In the Score evaluation type list, select Quiz - Total Score.
In the Score (if correct) field, enter an integer value that your application automatically adds to the total score.
In the Score (if wrong) field, enter an integer value that your application automatically adds to the total score.
For example, you can enter a negative number so that your application deducts points for an incorrect answer.
In the Check box answers section, select the Correct answer check box next to the response that defines the correct answer for the question.
Click Save.
Click Designer Studio > Case Management > Survey to open the Survey Management landing page.
Click the name of a survey that has at least one question that supports scoring.
For more information about the different types of questions that support scoring, see: Answer formats for questions in a survey.
For each question, perform the following steps:
Click the question to open the Edit question dialog box.
In the Score field, enter an integer value that your application stores on the clipboard when the user selects a response.
If the question supports multiple answers, you can provide a different score for each response.
Click Save.
Find and open the flow that runs your survey by using the Application Explorer or inspecting the Life cycle tab of a case type.
Configure the Utility shape with an activity that adds together the different score values on the pyWorkPage.Questionnaire clipboard page.
You can test your scores by running the flow that calls the survey. Your application does not generate a score when you call an individual question from a flow by using the Question shape.
Note: You must purchase a separate license before using survey functionality in your application.