Exiting from nested forms
Howdy - I posted in the silverlight forums, but probably should be posting in here given it's a pure workflow issue I'm having...
I'd love to know of a way to exit 'elegantly' from a workflow that have forms nested a couple of levels into the workflow... ie. they sit within a sequence which then sits within a parallel if..then, so as that I can get the user choosing values from forms that have been presented based on previous choices etc... It seems you can only quit a form (and subsequent workflow) from the highest level in the workflow(??)
Is anyone else out there having the same issue, or is it just my workflowing, not flowing correctly ; (
cheers
Gareth
-
Yes, generally you do need to terminate your workflow at the top level, and there is no real mechanism for terminating it elsewhere. Normally this is just a matter of arranging your workflow differently so that it does always terminate at the top level, and this would probably be the best solution as far as maintainability and readability goes. If absolutely necessary you could also maintain a 'Canceled' state in a global boolean variable, and then use this variable to cancel the workflow when you do return to the top level, regardless of where the form actually is.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar