Skip to main content
Solved

FSM - Inbound Integration

  • February 10, 2025
  • 7 replies
  • 54 views

AdrianEgley
Hero (Customer)
Forum|alt.badge.img+14

Hi,

Trying to get my head around inbound integration from a 3rd Party.

I have an sample inbound message (Screen shot below) the 3rd Party can send us. I’d like to receive the data and then map it to a single custom table taking the relevant data points that have been passed.

 

 

Is that possible to do? Or would I have to create a custom table for each object i.e. carData, deviceData and then into the functions?

Ideally I have data_table and column_a, column_b etc and use the mapping to obtain the data I need.

 

Any help if anyone has done something similar would be appreciated.

 

Cheers Ady

Best answer by Shneor Cheshin

Hi ​@AdrianEgley 

I think you are missing a ‘/’ in the Primary path.

Try ‘//carData’

Besides that looks OK to me. But might need some more investigation.

Cheers!

View original
Did this topic help you find an answer to your question?

7 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1137 replies
  • February 10, 2025

Hi ​@AdrianEgley 

Yes, you can achieve your requirements. You can start with 

  • Look at the smart client's ‘Integration Map - XML’ screen.
  • In the documentation, look at the ‘XML Messages’ chapter.

Cheers!

 


AdrianEgley
Hero (Customer)
Forum|alt.badge.img+14
  • Author
  • Hero (Customer)
  • 169 replies
  • February 11, 2025

Hi ​@Shneor Cheshin,

 

I have indeed checked the Integration Map XML Screen. I have a Map in place where I can receive a  perform_inbound_integration message with a basic XML from the screenshot above for just the cardData. The moment I add in <general> or <deviceData> data then no data is mapped. So how can that be handled on the same Inbound Map as the Primary Path I have is /carData? Can it handle multiple 

 

So from a XML perspective I need to handle multiple root elements, then map the elements I want inside each of them.

I don’t think the OOTB Documentation would cover that scenario.

 

Ady

 

 


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1137 replies
  • February 12, 2025

Hi ​@AdrianEgley 

It is hard to analyse screenshots, please add the XML code here in your message.

Please share your configurations. Not sure what you are doing.

Cheers!


AdrianEgley
Hero (Customer)
Forum|alt.badge.img+14
  • Author
  • Hero (Customer)
  • 169 replies
  • February 12, 2025

Hi ​@Shneor Cheshin,

The XML I am receiving is attached along with a JSON version too.

From a mapping perspective all I am interested in getting at the moment from the data is the carData.

 

That map above is working if I only pass the carData Element through.

But with how their data is structured as soon as I add 

<general>
    <id>105196096</id>
</general>

or 

<deviceData>
    <productName>mega macs X</productName>
    <deviceNo>12486</deviceNo>
</deviceData>

as extra elements then the Map fails.

I am testing this via XML Poster using <perform_inbound_integration>. 

So based on the attached, how can I handle multiple objects i.e. General, carData, deviceData, functions etc.

Ady


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1137 replies
  • Answer
  • February 13, 2025

Hi ​@AdrianEgley 

I think you are missing a ‘/’ in the Primary path.

Try ‘//carData’

Besides that looks OK to me. But might need some more investigation.

Cheers!


AdrianEgley
Hero (Customer)
Forum|alt.badge.img+14
  • Author
  • Hero (Customer)
  • 169 replies
  • February 13, 2025

@Shneor Cheshin - I love the most simplistic solutions.

I can now go and bring data in from other elements.

Out of interest that’s the handling XML message in the perform message.

If the 3rd party is sending a payload in JSON format, how can I handle that when the parameter is asking for xml_import?

 

Thanks again, Ady


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1137 replies
  • February 14, 2025

@AdrianEgley 

I am not 100% sure, but as far as I know, there is a layer in FSM that converts the JSON message into XML format. So it can be processed by the integration layer.

Cheers!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings