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
13 replies
Subscribers
8 subscribers
Views
3636 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi I have a scenario wherein, a Process model is exposed as a web ser
Prateek Bhati
over 8 years ago
Hi
I have a scenario wherein, a Process model is exposed as a web service which I am calling from Call Web Service node from another Process model, which is acting as the main process model. In the 1st process model if I insert data using Query Database or Write to Data Store Entity node then data gets inserted in the table. Now in the main process model if again I use query database to fetch the same values that got inserted in the previous step, then I don't get an instant response; the response is received after a short gap of time. I am not able to figure out why this delay is happening and what is the possible solution for this.
OriginalPostID-193920
OriginalPostID-193920
Discussion posts and replies are publicly visible
Parents
0
Pavan
over 8 years ago
Process model which you have been published as web service has storing the data into database. In the main processmodel your are calling that webservice, but webservice wont wait wait for the process to be completed, whereas in main processmodel the flow will be reaching to querydatabase, but the data has not been written to the database so it no be available to retrieve. I hope this is the exact scenario. Can you check once how much time that webservice is taking time to write data into datastore?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Pavan
over 8 years ago
Process model which you have been published as web service has storing the data into database. In the main processmodel your are calling that webservice, but webservice wont wait wait for the process to be completed, whereas in main processmodel the flow will be reaching to querydatabase, but the data has not been written to the database so it no be available to retrieve. I hope this is the exact scenario. Can you check once how much time that webservice is taking time to write data into datastore?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data