Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9069

Call RESTful API after finishing processing

$
0
0

Hello guys,

 

Though I'm new to B1if, I've managed to do some things I've been requested in my job. But now I'm stuck.

 

I have a scenario which takes an XML consisting in a series of rows each corresponding to 1 B1 object that needs to be updated. I've splited that process in two: (1) a step that takes the inbound XML, makes a for-each loop and puts each row into the internal queue, and (2) a step that takes each row from the queue and updates the B1 object. I've made the first step synchronous and all good, and I understand the second one must be asynchronous and all good two because all objects have been updated, but now I need a way of knowing if each object was successfully updated, that means I need a sort of call to a, for example, own RESTful API which after the final API to ACKnowledge the result.

 

¿How can this be accomplished?

 

I attach a picture of my two steps:

 

scenario.png

 

I hope despite my bad english you understood my question.

 

Thank you in advance.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>