Can not terminate workflow
When I click on closing button on DataRegion panel it closes my custom form but workflow is still working on the background and all drawn frames are visible on the map. Is there any way to close workflow and clear map? I’m using Silverlight viewer 1.5 and Essentials 3.9
-
hi Andrii,
I got the same question. wondering if you sorted it out or heard anything from Latitude. Thanks
regards,
Jack
0 -
Hi All,
The design of the DataRegion in Silverlight is such that when you click the close button it simply hides the current view. It does not destroy the view or terminate any process that the view was associated with. This is helpful for views like the Layer List that you can close and then open again and have it preserve the state. In the case of workflows this is less helpful because you don't have a button anywhere in the viewer to restore the hidden workflow container, and the user's action of closing may have been intended to end the process rather than hide it.
We are working on an alternative that would allow you to target a workflow container in the DataRegion that simply does not have a close button. The only way for a user to exit the workflow would be via the buttons you configure on your forms so you can always control the end of the workflow.
--Ryan
0 -
Ryan, thank you for good explanation!
Jack, my solution was to exit with button click - as Ryan suggested. Also used Unloaded event of view to clear map on exit.
0 -
Thanks Andrii and Ryan. Looking forward to the "alternative"
0
Please sign in to leave a comment.
Comments
4 comments