Run a work flow when the viewer is loaded
Is there a method to run a workflow when the HTML5 viewer is loaded “ started” ?
Thanks,
Ahmad
-
Yes, add the ID of the workflow manually to your Desktop.json.js (and the files for the other devices) in the configuration of the Workflow module, startupWorkflows setting.
0 -
Many thanks Nico for help.
Regards,
Ahmad
0 -
One other quick point that was not obvious to me at first was that the workflow name needs to be in quotes in the json file, i.e. ["Startup_Workflow"]. Took me a lot of headscratching to figure that one out :)
0 -
Many thanks guys it worked perfectly
/customer/servlet/servlet.FileDownload?file=00P6000000elzSlEAI
/customer/servlet/servlet.FileDownload?file=00P6000000em1UVEAY
/customer/servlet/servlet.FileDownload?file=00P6000000em1QsEAI
Many thanks,
Ahmad
0 -
Another option is to make it part of the URL.
Server /Html5Viewer_2_2/Index.html?configBase= Server /Geocortex/Essentials/REST/sites/ Site /viewers/ Viewer /virtualdirectory/Resources/Config/Default&runWorkflow= WorkflowName
0
Please sign in to leave a comment.
Comments
5 comments