Leveraging external data in questionnaires
Scenario: Requesting resources
Scenario: Requesting a change in working hours
Scenario: Ordering IT equipment
Set up configurations in BMC Helix Innovation Suiteand BMC Helix Digital Workplace to use the REST APIs provided by the external system to access its database and retrieve data.
Before you begin
Make sure you have administrator privileges to set up configurations in BMC Helix Innovation Suite and catalog administrator privileges to configure services in BMC Helix Digital Workplace Catalog.
Configuring the steps to pull data from an external source into a questionnaire
The following image shows the configuration steps to leverage external data in questionnaires:

The following table provides the sequence of steps that you need to perform:
Step | Product | Task | Description | Reference |
|---|---|---|---|---|
1 | BMC Helix Innovation Suite | Create a document definition | Define how the data is sent in the body of a request for PUT and POST methods and how it's returned in the response. | |
2 | BMC Helix Innovation Suite | Create REST API web service request definitions | Set up the API call by defining web requests to send and receive data from the external system. Important: When the dataset is large and pagination is required, only the first page of results is returned. | |
3 | BMC Helix Innovation Suite | Create a web API connection | Configure a connection to access the REST API web services of the external system. | |
4 | BMC Helix Innovation Suite | Configure a data source | Create an external data source from which the data will be retrieved. | |
5 | BMC Helix Innovation Suite | Create an external record | Create an external record that maps the external data so that it appears as a local record instance. Important: Use the Edit data option to examine the records of this external record definition. If the data created is as expected, your configuration works fine | |
6 | BMC Helix Innovation Suite | Map the data source alias with an appropriate data source configuration | Map the external data source alias to the data source configuration. When a record from the external record definition is accessed, the application connects to the external data source. | |
7 | BMC Helix Digital Workplace Catalog | Create the service in BMC Helix Digital Workplace | Create a service that will use the external data. | |
8 | BMC Helix Digital Workplace Catalog | Configure a questionnaire for the service | Add a questionnaire for the service. | |
9 | BMC Helix Digital Workplace Catalog | Add a multi-choice type question and map question values to a form | Add a multichoice question and populate it by using external data. Multichoice questions can include dropdowns, checkboxes, radio buttons, tables, lookups, and other formats. |
Results
The following image shows the service in the end-user console:

Troubleshooting
If the data displayed in the question is incorrect, check the external record definition.









