2

Is there a preferred way to handle pause until workflows? I have a infopath form that has some basic approval process and I see I can pause until field changes or the workflow can simply end and restart on form update and check the field again at that time and proceed further into the workflow if the check passes.

For instance form is submitted and the form state (field) is set to WaitingApproval. The manager looks at the form decides to either pass it (approved) or ask for edits (editsrequired). I don't know the effect having lots and lots of paused workflows on the server so if it's best to just end the workflow then rerun it on form change/update I can certainly do that.

1

The effect of a lot of paused workflows are almost non-existing. So you shouldn't worry about that.

But you should ALWAYS code your workflows such that they can be restarted on the same item and behave correctly (otherwise you won't be able to change them).

With that in mind I'd suggest that in your scenario you just end your workflow unless you have a reason for them to stay alive. This reason could be that you want to send out a mail it nothing happens in X amount of time.

  • I wasn't thinking about restarts appreciate the reminder, thank you I will proceed as you suggest. – zeddgara May 21 '15 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.