MSDN > フォーラム ホーム > SharePoint - Workflow > Very basic workflow cycles over and over and over
質問する質問する
 

回答済みVery basic workflow cycles over and over and over

  • 2009年6月30日 14:26Dave Pyett ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Afternoon all!

    I have created a very basic workflow that runs against a custom list when a item is changed.  This workflow is designed to finalise a change request through a column called Change Status (which cannot be edited by the end users):

    If 'Documented' = No
    Stop workflow and log to history
    Else
    Set Change Status to 'Completed'
    Email assignee with details
    Stop workflow and log to history.

    'Documented' is a simple drop down choice field with Yes|No as the options.

    When I edit an item and select Yes to the Documented field, the workflow kicks in and sends the email.  It then sends another email and another and another............until I manually delete the item by which time, I usually have a hundred or more emails sitting in my inbox.

    I would have thought with the lines (Stop workflow...) it would only ever send 1 email but this is not the case.

    Any ideas?  I'm probably missing something simple here.

    Using: WSS 3.0 and SharePoint Designer 2007
    SharePoint Administrator | SharePoint Fan http://davepyett.wordpress.com - Follow me on twitter: twitter.com/dpyett

回答

  • 2009年6月30日 21:16Stunpals ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    Could you not set the WF to start on creation and then use the Action - Wait for Field to change on current item? You then set the value you are waiting for. This way the WF starts only one time and your user only gets 1 email.

    • 回答としてマークDave Pyett 2009年7月2日 8:55
    •  

すべての返信