Hi I have a scenario wherein, a Process model is exposed as a web ser

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
  • 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?
Reply
  • 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?
Children
No Data