Hi,
I have scenario where my publishing service is publishing the each records received from rest service.
Like →
start of service1
Call rest serviceA
Loop over response records
pub.pub.publish
End of service1
Trigger is subscribing to the docs published. Call service2
In the subscribing service,
start of service2
process records map it the request doc
Post to rest serviceB
Branch on response
If error
Exit from flow on failure - log failure in MWS as i have enabled audit logging.
Else
process response
end of service2
When Service1 publishes first doctype, Service2 process and gets response error from rest service B and exits the flow.
But then it is not processing the any next incoming document for this transactions.
Suppose service1 publishes 10 docs, service2 is processing only first records and rest all are not getting subscribed.
If i remove exit from flow step in subscribing service2 then everything works as expected.
Please advise.
Thanks,
Kavitha
#webMethods#Integration-Server-and-ESB#Universal-Messaging-Broker