Mapping variables to questions
To map variables to questions you defined for the SRD
- On the Question Management form, click the Variable Mapping tab.
- Select one of the variables.
In the Mapping Details area, perform one of the following actions:
Action
Comment
To choose one of the questions you previously defined, select Question.
Make sure that the available questions you select will map to the intended data targets. For example, the question ("What kind of chair do you want?") corresponds to the Description data target. If not, you must create a question.
Specify whether the question must be answered by the answer (select User Displayed Response) or the data is internal (select Internally Represented Response).To enter the text that you want entered in the corresponding field in the fulfillment application, select Text, and enter the desired text.
When entering a string in the Text field, do not use quotation marks; otherwise, no text will appear in the Service Request form, and the data will not be pushed to the fulfillment application. (This occurs because of the way quotation marks are used in the workflow that parses the mapping.)
To select a field from the SR Field list, select SR Field.
To concatenate multiple inputs, click Advanced Mappings.
You might select this option if you want to map multiple questions to the same variable. For example, the user's answer in the Description field on the Request Entry console can be pushed to the Description field data target in the Change Management, Incident Management, and Work Orders fulfillment templates. (See Concatenating-multiple-inputs.)
- Click Apply.
- Map other variables as needed.
- Close the Question Management form.
- Save the SRD.
Question format restrictions
The following table shows the question format restrictions that apply when you are mapping data. You can map question data as follows:
- User Displayed Response — User enters answer to the question from the Provide Information panel on the Request Entry console as input.
- Internally Represented Response — Data is passed internally as input by using the AR System internal representation (the stored values, or for Date, Time, or Date/Time fields, a numeric string).
- Either — Both User Displayed Response or Internally Represented Response options map data correctly to the fulfillment application.
Question format | Fulfillment field type | How to map data | Comments |
---|---|---|---|
Text | Character | Either | Either choice maps data correctly. |
Radio Button, Check Box, Static Menu | Character | User Displayed Response | |
Selection Field | Internally Represented Response | When the internal value is used, the stored values defined for the question are passed to the fulfillment application. The stored values must match the values of the selection fields on the fulfillment form. | |
Query Menu | Character | Either | User Displayed Response always maps to Display Label, even if an Actual Value is configured for the question. To map Actual Value, use Internally Represented Response. |
Date | Date | Internally Represented Response |
|
Character | User Displayed Response | When you map the Date/Time field with User Displayed Response in a Character field, the values in the Character field depends on the language settings of the browser and not the locale and web preferences set for the user. | |
Date/Time | Not applicable | Not supported | |
Time | Not applicable | Not supported | |
Date/Time | Date/Time | Internally Represented Response |
|
Character | User Displayed Response | When you map the Date/Time field with User Displayed Response in a Character field, the values in the Character field depends on the language settings of the browser and not the locale and web preferences set for the user. | |
Date | |||
Time | Time | Internally Represented Response |
|
Character | User Displayed Response | When you map the Date/Time field with User Displayed Response in a Character field, the values in the Character field depends on the language settings of the browser and not the locale and web preferences set for the user. | |
Range | Character | Either | |
Integer | Either |