Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Filipe Silva
0
Views
1
Comments
How to ignore webservice errors?
Question
Hello.
I have an app that consumes a web service. My app feeds it a phone number, and the webservice returns the phone info. The problem is, if the phone number is not supported the webservice just returns an error. I am trying to iterate over a list of numbers (imported from an excel file) and I need to ignore the ones that return an error in order to continue processing the rest.
I tried an error handler with a connection to the For Each, but that results in an error for "ambiguous paths".
Any Ideas?
Thank you,
Filipe Silva
Miguel João
Staff
Hi Filipe
Have you tried placing the Web Service Call inside a new user action with an error handles, that doesn't abort the current transaction and exist the action?
Then, call this user action from within the For Each cycle.
Cheers
Miguel
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...