Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tXMLMap delays output until looping through multiple rows from tRESTClient is complete

Hi - I'm not certain if this is the correct place for this.  Please feel free to redirect me if not, and thanks in advance for any help you might provide!

I have a tRESTClient which is POSTING to an API and sending responses to a tXMLMap.  The tXMLMap then maps the responses based on filters to a success flow and an errors flow.  Each of these flows results in documents being persisted in a separate tMongoDBOutput collection.

While the job is running, a website is polling the DB and updating data in real-time.  Everything works, but it appears that tXMLMap waits to start sending output until after all of the looping is complete.  The effect is to suggest to a user that little is happening even though new records are successfully being uploaded via API to the destination system.  Then, only once the POSTS are all complete and the tXMLMap is finished looping, does it begin sending data to the DB and this is when the website dashboard finally starts showing updated numbers.

I've noticed that tExtractXML field does not delay the flow of data, but do not appear to be able to use this and also split out the rejected POST attempts from the successful ones as I am with tXMLMap. 

Questions:

1. Is there a way to configure tXMLMap to start sending output immediately?

2. Is there another way to split to different flows without using tXMLMap?

Please see screenshots for reference:0683p000009M7dA.png


Labels (2)
1 Reply
fdenis
Master
Master

the best wax to solve your problem is to check java code. I'm not sure your problem cam from txmlmap.