I have a form that once submitted, calls a workflow that basically creates a folder in the repository and returns a weblink URL to the forms business process. Since we are returning data to the forms process the "Wait for the workflow to finish before proceeding?" is set to yes. The form and workflow have been tested and work successfully.
At some point when access rights were being updated within the repository where this folder is to be created, the workflow user (along with everyone) had the permission to create folders removed. This obviously terminated the workflow with an 'Access Denied' error when the form invoked the workflow and attempted to create a folder. The form process went into a suspended state yet the workflow kept being called continuously every few seconds until it was manually stopped. While the form was in a suspended state I could reopen the 'View Error Log' tab and see the list of errors growing.
There were around 350 terminated instances of the workflow within 12 minutes. Fortunately our monitors alerted us to the suspended instance and we were able to stop it quickly.
Is this expected behavior, a workflow being called continuously when it terminates while the forms process is suspended? Is there an option I don't know about or other way to prevent something like this from occurring again?
We have corrected the repository access rights and things are working again but I hate to think of something like this occurring after normal working hours!
Thanks,
Andrew