Integrate AEM Forms with ServiceNow
Create and display incident in ServiceNow using Form Data Model in AEM Forms.
Prerequisites
- ServiceNow account.
- Familiar with creating data sources
- Familiar with Form Data Model
Sample Assets
The sample assets provided with this article include the following
- Cloud service configuration
- Swagger files to create an incident and fetch all incidents
- Form Data Model based on the swagger files
- Adaptive Form to create and list ServiceNow incidents
Deploy the assets on your server
- Download the sample assets
- Import the assets into AEM using package manager
- The swagger file used for this integration is located under the
/conf/9957/settings/cloudconfigs/fdm
folder in crx repository - Edit the CreateIncident cloud service configurationto match your ServiceNow instance.
- Edit the GetAllIncidents cloud service configuration to match your ServiceNow instance. You will need to change the host,username and password to match your ServiceNow instance credentials.
Access ServiceNow instance credentials
-
Click on your user profile
-
Click on Manage instance Password
-
The instance details is shown as below
Test the integration
- Open the Adaptive Form
- Enter some values in the description and comments field and click Create Incident button
- The incident Id of the newly create incident should get populated in the text field and the table below should list all the incidents.
recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e