Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
2602 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hello, I consume a webservice in apian that open's an account. Al
georgec890
over 9 years ago
Hello,
I consume a webservice in apian that open's an account. Al nice and beautifull.
I want to cover the cases when the machine on which the webservice is hosted is down or there is a time-out or any other case.
So I want to retry until I get a respone. Because in this moment the process just dies and remains stuck there.
Thanks in advance,
George
OriginalPostID-172772
OriginalPostID-172772
Discussion posts and replies are publicly visible
0
Alex Weller
Appian Employee
over 9 years ago
If you put the webservice call within a subprocess, you can more easily build error handling logic with an exception flow.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
danny.leo
Certified Associate Developer
over 9 years ago
Agree 100% with Alex. In addition, this becomes a re-usable component for other areas of the process if need be,
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mpontius
over 9 years ago
If you are calling the service from the SAIL interface then using the httpgetwithresponse/httppostwithresponse function (in the Sent HTTP Requests plugin), or if you do not need NTLM auth you can use the OOB httpQuery and httpWrite and check the responses as well. Note that doing it this way it is helpful to store the output of the service call in a local variable and then evaluate if an error happened from there.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sachin Pandey
A Score Level 1
over 9 years ago
You can create a subprocess around the Web Service node and manage your errors. As Danny mentioned it can be good re-usuable component. We have built several of them in our project.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgec890
over 9 years ago
thanks for the answers guys. I will make modification next week probably and I will come back with a feedback.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel