Close Browser Event
We're attempting to isolate any possible method that a client could, and probably will, not exit out of a workflow properly.
Is there an event listener that can detect that the browser has been terminated?
Or, if a certain amount of time has passed? For example, if the client runs the workflow but decides to head out for lunch, is there a similar event that can be tracked by the workflow and end the workflow after a certain amount of time?
Appreciate any comments on my posting.
Walter
0
-
You can also add a record to a log table (with Add Features or SQL Non Query activty) and remove it as last activity in your workflow (with Delete Features or SQL Non Query activity).
All non-successful runs will then be in the log table.0 -
Nico,
Thanks for your response. I've implemented a delete * from table, as the last activity in my workflow. So, if the user completes the workflow correctly, then all is fine.
But if the browser session is closed via the 'X' button, is there any way of listening for this event
and then terminating the workflow properly?
Walter0 -
In the Geocortex API, there is an event called "WorkflowAbortedEvent". So if the client accidently closes their browser, can this event be used to determine this?
Walter0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare