Gauraav
Occasional contributor

AB integration with Mulesoft (Anypoint Platform)

Jump to solution

We have Integrated App Broker (On-Prem) with ServiceNow (Cloud instance).

Anypoint (Mulesoft) is a lightweight, scalable runtime engine for APIs, integrations, and microservices. Deploy anywhere with our hybrid integration platform — on-premises, on the cloud, or both.

We are using Anypoint Platform (Mulesoft) for integrating between AB and SNOW. 

It means all RITMS raised in ServiceNow shall route to Mulesoft and then AB.

Syncing of catalog items will also flow from App Broker to Mulesoft to ServiceNow

Please let me if App Broker provides flexibility to integrate with Mulesoft (Anypoint).

Attached screenshot for Proposed Integration we are trying to achieve -  

 

 

0 Kudos
1 Solution

Accepted Solutions
jdempsey
Moderator Moderator
Moderator

Re: AB integration with Mulesoft (Anypoint Platform)

Jump to solution

That depends on how you intend to configure the integration.  If you want to have App Broker push the catalog to ServiceNow automatically and update RITM state and other such things that are part of the normal integration, then you would still fill in the settings on this page; but instead of pointing directly to ServiceNow, you would point it at Mulesoft.  Mulesoft would then have to exactly replicate the interfaces/responses that ServiceNow would normally provide so that App Broker doesn't know it's talking to Mulesoft.  Alternatively, you could leave this page blank and implement all logic within Mulesoft so that it pulls the catalog into ServiceNow and polls for status updates periodically.  The latter option is more work and probably not as efficient, but it may have some advantages by isolating all of the integration logic into one place where you have control over the behavior.

Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

View solution in original post

0 Kudos
6 Replies
jdempsey
Moderator Moderator
Moderator

Re: AB integration with Mulesoft (Anypoint Platform)

Jump to solution

One of our partners has implemented a similar integration between App Broker and ServiceNow (though not using Mulesoft).  As long as Mulesoft exposes the interfaces with App Broker in a way that is transparent to App Broker (i.e. same SOAP and REST interfaces with the same inputs/outputs), then it should be fine.  I won't say this is going to be trivial, because some API calls from App Broker to ServiceNow are hard-coded within the product code and aren't documented.  You may run into some errors along the way that you'll need to investigate in the Mulesoft/ServiceNow/App Broker logs and resolve.  For the catalog sync, the main thing is going to be exposing appropriate WSDL interfaces for App Broker to read.  But there will also be a couple separate calls to attach the variable set to each catalog item and to upload the icon file for each catalog item.  These calls are hard-coded in the product code.  Additionally, once a request is submitted from ServiceNow to App Broker, App Broker will make several calls back to ServiceNow to update the RITM state value, so you'll need to make sure the sc_req_item.do interface is also exposed through Mulesoft.

Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".
Tags (2)
0 Kudos
Gauraav
Occasional contributor

Re: AB integration with Mulesoft (Anypoint Platform)

Jump to solution

Thank you Jim for clarification!

We need to estimate efforts for Changes required plus need to document all home work that we need to do from App Broker side.

0 Kudos
Gauraav
Occasional contributor

Re: AB integration with Mulesoft (Anypoint Platform)

Jump to solution

As I understand, we need to keep ServiceNow Tab blank in App Broker  since we will integrate with Mulesoft now.

0 Kudos
jdempsey
Moderator Moderator
Moderator

Re: AB integration with Mulesoft (Anypoint Platform)

Jump to solution

That depends on how you intend to configure the integration.  If you want to have App Broker push the catalog to ServiceNow automatically and update RITM state and other such things that are part of the normal integration, then you would still fill in the settings on this page; but instead of pointing directly to ServiceNow, you would point it at Mulesoft.  Mulesoft would then have to exactly replicate the interfaces/responses that ServiceNow would normally provide so that App Broker doesn't know it's talking to Mulesoft.  Alternatively, you could leave this page blank and implement all logic within Mulesoft so that it pulls the catalog into ServiceNow and polls for status updates periodically.  The latter option is more work and probably not as efficient, but it may have some advantages by isolating all of the integration logic into one place where you have control over the behavior.

Anything expressed here is my own view and not necessarily that of my employer, Flexera. If my reply answers a question you have raised, please click "ACCEPT AS SOLUTION".

View solution in original post

0 Kudos