You can use the Question shape to collect a single response from a user who is processing a case. By isolating individual questions, you can selectively capture user input without the formal structure of a survey.
Tip: To support users in offline mode, use several Question shapes instead of one Survey shape.
Click the Question shape.
Choose a question to ask the user.
In the Question type list, select Rule.
In the Question rule field, press the Down Arrow key and select the name of a question.
Complex questions are excluded from the list because they are supported in surveys only.
Review the information in the Question info section to verify that the question text and answer format are relevant to the case.
Use this approach when you are collecting a text response and the question is specific only to the process that contains the Question shape, because virtual questions are not reusable.
In the Question type list, select Text.
In the Question text field, enter the text of the question that is displayed at run time.
In the Map answer to property field, press the Down Arrow key and select a property to store the value of the answer that the user provides.
Use this approach when you are collecting a response in a different format, such as a check box, or plan to reuse the question in another process or survey.
In the Question type list, select Rule.
In the Question rule field, press the Down Arrow key and select the name of your question.
Optional: To ensure that the user provides an answer to the question, select the Required check box.
Some formats, such as read-only text, do not support this option.
Optional: To validate the answer that the user provides, define pre and post processing.
In the Pre-question processing activity and Post-question processing activity fields, press the Down Arrow key and select the name of an activity.
These activities are called when the user is online.
In the Pre-question javascript function and Post-question javascript function fields, enter the names of functions that are bundled and attached to the harness of the case.
These functions are called when the user is offline.
Click Save.
Note: You must purchase a separate license before using survey functionality in your application.