I need to call a stored procedure that takes a lot to complete (around 6min) and it does not return anything. It could be called in a async way that it would not matter.
Having said that, can I just use the timeout field to give it a short value (one second) being sure that in the DB, the SP will complete even if my Process model completes?Cheers
Discussion posts and replies are publicly visible
Hi. There a a few things here to consider:
Hi Stewart, thank you for the reply.Responding each point:1. It already is a very small Process Model with a daily trigger in the start node, the smart service, and the end node. So it's no use calling it from a sub process. 2. It doesn't even have outgoing variables attached. The outcome really is non important. What it does is just to update some dates in the DB and the response would not make sense in the context of the Process model. 3. Yes, it does take that long sometimes. It even shows up in the health check as it being taking way too long. You may be right, it may not be optimized and the people who did it could have a look at it, but in a "appian perspective" I think there should be a way to "bypass" this.Node: I guess we could ad a DB trigger for it and not bother with the Appian side of it, but I feel that in some cases this could be useful to know.