Stump the Panel » SharePoint Workflow for All Users

I always have this problem - Laura can you help

(6 posts)
  1. ihmunro
    Member

    Everytime I add in a workflow, I end up getting hundreds of emails from the workflow.

    What I am trying to do is wait say 5 days after a new document has been added into the system then start the workflow. The workflow could be anything - say missing info as an example that may not be able to be obtained when the document was created.

    The workflow will then remind the person to get the info added.

    It always seems to go into a loop.

    Any ideas?

    Iain

    Posted 3 days ago #
  2. IMHO you're better off using the workflow to immediately send the date + 5 days to a holding list. Every night, you run a workflow (or better a batch job) to check the holding list for any dates = today. If there are entries, the batch checks the referred item (by a lookup column or link) and sends/triggers the email.

    Posted 3 days ago #
  3. ihmunro
    Member

    Hi Paul

    Thanks for pointing me in the right direction. I have searched STP as well as the web but cannot find anything relating to a holding list.

    It is possible to give me some further guidance?

    Iain

    Posted 2 days ago #
  4. Think of it as a state control list. You're going to record the item and the state. Then you have to trigger the state check nightly. That part may need a Visual Studio workflow, honestly.

    Another option is to look into Information Management Policies. You can see if it will trigger a reminder at create date + 5 (IMP workflow already runs daily).

    Posted 2 days ago #
  5. That usually points to bad logic or not unique lookups. I've spammed myself hundreds of times buildng and testing workflows.

    Also what you can do is when a new item is created, set a workflow variable that is 5 days from the current date. next step, pause until that date, then do something.

    Paul's idea of batching looks interesting

    Posted 1 day ago #
  6. Lain,
    Please type in your workflows conditions & actions for us, so that we can tell you where it's going wrong and why it's looping. Also, note that once you install service pack 2, this looping problem will supposedly go away.

    Posted 1 day ago #

RSS feed for this topic

Reply

You must log in to post.