Creating a stand-alone question
You can create a simple question that is not associated with a survey. By using stand-alone questions, you can support information gathering when a case is offline.
You must purchase a separate license before using survey functionality in your application.
- Click Designer Studio > Case Management > Survey to open the Survey Management landing page.
- Click the Questions tab.
- Click Create question > Browse all types > Single answer > [answer type].
- In the Name field, enter a unique name that describes the purpose of the question.
- Optional: To change the scope of the question, expand the Context section and
provide a different class name, ruleset name, or ruleset version.
The scope controls which rules can reference your question and which rules your question can reference.
- In the Question layout list, select an option that indicates how the
text of the question is sourced in your application.
For example, you can define your own text or reuse the text from a paragraph rule.
-
Provide the source of the question text by entering a value in one of the following
fields:
-
Paragraph - A paragraph rule in your application.
-
Section reference - A section rule in your application.
-
Question - Plain text that you provide.
-
Question text - Rich text that you provide.
-
-
Format the fields that users interact with to answer the question.
- Text area:
-
Expand the Answer presentation settings section.
-
In the Default field, enter placeholder text that is displayed before the user provides an answer.
-
In the Rows field, enter the height of the text area.
-
In the Columns field, enter the width of the text area.
-
- Text box:
-
Expand the Answer presentation settings section.
-
In the Size of text box field, enter the maximum number of characters that an answer can contain.
-
In the Default field, enter placeholder text that is displayed before the user provides an answer.
-
- Date or date/time:
-
Expand the Answer presentation settings section.
-
In the Default field, select a default date that is displayed before the user provides an answer.
-
- Predefined list:
-
In the Drop down type list, select Data page .
-
In the Data page field, press the Down Arrow key and select a data page that returns a list of options.
You can pass parameters in the Value field if they are supported by the data page.
-
In the Property for value field, press the Down Arrow key and select a property on the data page that stores the options for the list.
-
To change the default labels in the list, enter a property from the data page in the Property for display text field.
-
- Predefined radio buttons:
-
In the Radio button source list, select Data page .
-
In the Data page field, press the Down Arrow key and select a data page that returns a list of options.
You can pass parameters in the Value field if they are supported by the data page.
-
In the Property for value field, press the Down Arrow key and select a property on the data page that stores options for the radio buttons.
-
To change the default labels of the radio buttons, enter a property from the data page in the Property for display text field.
-
- Custom list:
-
In the Drop down type list, select Prompt list .
-
For each choice in the list, repeat the following steps:
-
Click the Add row icon.
-
In the When field, press the Down Arrow key and select a when condition that controls whether the choice is included in the list.
-
In the Display value field, enter the label for the choice.
-
In the Value field, enter the value that is copied to the clipboard when the user selects this choice.
-
-
In the Selected column, click one option to set the default choice in the list.
-
- Custom radio buttons:
-
In the Radio button source list, select Prompt list .
-
For each radio button, repeat the following steps:
-
Click the Add row icon.
-
In the When field, press the Down Arrow key and select a when condition that controls whether the radio button is displayed.
-
In the Display value field, enter the label for the radio button.
-
In the Value field, enter the value that is copied to the clipboard when the user selects this radio button.
-
-
In the Selected column, click one option to set the default radio button.
-
- Custom section:
-
In the Section reference field, press the Down Arrow key and select the name of a section that displays fields for the user to enter a response.
-
For each parameter that the section supports, enter a corresponding value in the Param value field.
-
In the Map to property field, press the Down Arrow key and select the name of a property that stores the answer that the user provides.
Some types of questions, such as custom sections, do not support property mapping.
-
Click Save to close the Add question dialog box.
-
- Text area:
You can integrate your stand-alone question with your application by using the Question shape in the life cycle of a case, a flow, or a question page in a survey.