I'm using the "a!startProcess" to call a process model from the Appian interface. The process model takes more than 30 seconds to complete.
Is there a way to increase the timeout when calling the process model from the interface.
Do we have property in the a!startProcess for this? We are trying to keep this as a synchronous process.
a!startProcess( )
Discussion posts and replies are publicly visible
There is no way to do set the timeout. You'll have to set some parts of your process to run asynchronously to ensure it runs in under 30 seconds.
I'm attempting to break this into multiple processes.
But we are even considering an option to trigger the process model (from the interface) and let it run for more than 30 seconds until complete. So even if the user interface dosen't receive the response, that would be fine.
Is there a risk in going by this idea?
There is no real timeout. Or, it has a different meaning. The function a!startProcess, in synchronous mode, does wait a maximum of 30 seconds. Then it will evaluate the save operations with the data available from the process at that time. Your process will continue in the background.