Uploading photo on mobile device causes workflow timeout
Hello. I'm using a DisplayForm with a FilePicker control to take photos or select images from the camera of a mobile device. I'm running into workflow timeout errors around 1 minute which from my reading is a browser timeout which I can't control. Ideally I would dial down the resolution of my camera and take lower resoltion pics to get around this, but iPads don't have that setting. They only take pictures between 1-3Mb is what I'm seeing. With WiFi the photo uploads proceed as normal, but using cell they simply timeout. The ability to upload photos (which I then attach to a service request in Cityworks) is crucial to the success of my site. Does anyone have any suggestions!?
Thanks in advance,
Geoff
0
-
Kudos to Support for providing me a fix:
Within the Index.html replace the following line:
new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize();
with:
new geocortex.essentialsHtmlViewer.ViewerLoader().loadAndInitialize({
onSiteInitialized: function(app, loader) {
geocortex.config.io.timeout = 600 * 1000; // 600 seconds.
}
});0 -
Thanks Geoff for sharing the solution. It has solved my workflow time-out issue when uploading large file using the file activity in workflow form.
Has also tried the solutions as mentioned under this thread (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=90660000000CkYvAAK) but unsuccesful.0
Please sign in to leave a comment.
Comments
2 comments