Creating a questionnaire with answers prepopulated from an external asset form
Before you begin
- Create a service action, and associate it with any asset class. For details about how to do this, see Managing-service-actions.
- Design a required workflow for the service action. For more information about how to do this, see Designing-a-simple-workflow.
To create a questionnaire with fields prepopulated from an external asset form
- Create the required process questions; see Creating-service-questionnaires.
- In the Questions Designer, select the Actions tab, and click Add an action.
- Complete the Action Name and the Trigger fields as required.
- In the Forms section, click Add Form, and select a form from the list, and click Save.
- In the expression builder field, create a query to filter external assets.
The query should return an asset that will be used for retrieving data.
In the following example, a condition is set to find an entry in the AST:BaseElement Remedy form, which has a Reconciliation Identity field whose value is equal to the Asset External Id process context parameter value. - In the Mappings section, click Add Mapping and map question responses for process questions with respective form fields from an external asset.
In the following example, questions responses are configured to be prepopulated from fields retrieved from the AST:BaseElement form: Save the questionnaire.
Now the questionnaire is ready to be used by a service action. When your service action is fully configured, activate the service action, so it becomes available for users who have assets associated with this service action.
Service action example reference
To better understand how you can build a required service, download the example service action file (BMC Helix Digital Workplace Catalog, go to Services > Service Actions, and import it to your system as described in Managing-service-actions.
) described in this topic. In