I created a Web api and tried to use it in Appian Integration of same environment but I am getting time out error, how can I resolve the issue.
The web api is of POST method with startprocess. The process model is triggering but I am getting below error in Integration
Discussion posts and replies are publicly visible
Hi Devarneni Shiva Prasad Rao may i know more context on what process model is doing
{ "mobileNumbers": ["1234567890","0987654321"], "operator": "Joi", "planName":"Data", "planDays":"60"}
this is the body of web API.
In the processmodel the requested data is wrting to data base using write to data store entity and returining the ID
hi Devarneni Shiva Prasad Rao what is the format of your body
Devarneni Shiva Prasad Rao said: write to data store entity and returining the ID
There is an another template write records try using that it takes less time
The template I used is startprocess with in the processmodel I used write to datastore, If I uses write records templates how can I trigger a process model
I am suspecting the data is not in json format, could check the format please? looks like it is valid json
Your just trying to write data to back end there are two more templates write to datastore entity and write records which work way faster than running a process and getting data out of it. I have seen your screenshots they are taking way more time .In your first screenshot it's taking >200 secs and second one it showing >100 we said to increase the time but you are not doing that. You are saying it's not related to timeout because it's working fine in Postman we don't know your configuration in postman.
Appian doesn't throw a random error , "If it's related to timeout it throws error just like what we are seeing in your screenshots".Appian clearly suggesting you too increase the timeout.
Unknown said: >200 secs
its just 20 secs,
The processmodel is just taking 600ms i.e is less that 1 sec and i tried with 100 seconds, still same issue and you are saying it is time out issue, how it could be possible? let you give some seconds I will try
Increase it to 200 sec and see if it's throwing the same error? If yes go for alternatives which doesn't a need a separate process to run.
Unknown said: thing try to run the webapi standalone
Execution time is time taken by your Web Api to execute (process model is acts as child).
Same issue with 250 seconds,
Will try write record template but the issue is I want one process model to be triggered
What is in the process just a write to date store entity node or any other things??
if it works I want to add a start process smart service before end node to trigger one more process model, But initailly it not not working
Abhishek Karumuru , dont know what happened but its working fine now♂️
haha , did you make any changes ?
not made any changes, Just i Save and published the process model again Thats it, See the versions are identical as well
Don't know whats happening with Appian Appian Website