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
4 replies
Subscribers
9 subscribers
Views
1554 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have published a process model as a web service. I have made two variables as
chetany
A Score Level 1
over 10 years ago
I have published a process model as a web service. I have made two variables as parameters. The WSDL is generated.
However, in the output from web service I only get the process ID. How can I get, let's say the addition of those two input variables as output?
...
OriginalPostID-131181
OriginalPostID-131181
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 10 years ago
As you can read in the documentation only the process ID is returned. This is by design. To return values you have to implement some kind of callback like a webservice running on the 3rd party system that can be called by the Appian process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 10 years ago
Hi Stefan, Thank you for the reply. If we cannot return any useful output(other than process id) from the process model which is published as a web service, a natural question arises - What useful is this functionality of publishing the process model as a web service then? If we can just start a process model and only get its process id via a web service call, then it is not much useful. A webservice is expected to return some useful result. So, a process model published as a web service should also return a useful result.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 10 years ago
First thinking about that, I would agree to you. But, when you call a webservice you want a result back within a predictable amount of time. The timing of process execution is not predictable in this sense. So Appian returns you the process ID within a defined amount of time. Your process can run for seconds or years and return its results as a callback as it completes. The other system has the process ID and can wait for the results.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 10 years ago
Hi Stefan, That does make sense. Thank you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel