9
www.sanjeetpandey.com www.sanjeetpandey.com Prepared by – Sanjeet Pandey Integration with Service-Now using Mule ESB

Integration with Sercice-Now using Mule ESB

Embed Size (px)

Citation preview

Page 1: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

www.sanjeetpandey.com

Prepared by – Sanjeet Pandey

Integration with Service-Now using Mule ESB

Page 2: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Overview

- MuleSoft provides the most widely used integration platform to connect any application, dataservice or API, across the cloud and on-premise continuum.

- It is always great to have the applications send alerts and create incidents or tickets whensomething goes wrong. MuleSoft provides ‘ServiceNow’ connector to establish connectionbetween MuleSoft Applications and ServiceNow Database which seamlessly creates incidents,requests, assign requests to groups or people.

2

Page 3: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Prerequisites

• Service Now Account

• Service Now User Name and Password

3

Page 4: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Microsoft Azure Shared Access Name and Key

Click Connection Information. In the Access connection information dialog, find the connection string that contains the SAS key and key name. Make a note of these values, as you will use this information later to perform operations with the namespace.

4

Page 5: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Mule flow

Given below are the steps to be followed for integrating “ServiceNow” with MuleSoft Applications:

• Install the ServiceNow Connector in AnyPoint Studio (3.5 and above)

• Create a new AnyPoint Studio Project and Flow.

• Before using the ServiceNow Connector in the Mule Flows, create a global element for ServiceNow configuration which can be reused in all other flows wherever a ticket/incident need to reported.

5

Page 6: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Mule Flow (cont.)

• Configure the ServiceNow connector by providing the following information for the global element

– User Name

– Password

– Service Instance URL

• It is best to include the ServiceNow Connector in the Catch-Exception-Strategy to raise appropriate alerts based on the type of exceptions raised rather than in any part of the flow.

• Although, the ServiceNow Connector can be placed in any flow, it is best to include the ServiceNow Connector in the Catch-Exception-Strategy to raise appropriate alerts based on the type of exceptions raised.

6

Page 7: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Mule Flow (cont.)

Mule XML -

7

Page 8: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com

Output

• Run the Mule Application.

• Check the ServiceNow Accounts as both, the user requested for and user who is assigned the request.

8

Page 9: Integration with Sercice-Now using Mule ESB

www.sanjeetpandey.com 9