locked
Send an Email when an attachment is added to item and when additional attachments are added RRS feed

  • Question

  • My Workflow(wf) is checking a list for (Attachments equal yes) when there is a new or changed item and then sends an email.
    My problem is: when a column is changed on an item with an attachment (no additional attachments), the WF runs because attachments is true.  I want the WF to run when an attachment is initially added and whenever additional attachments are added.  I do not want the wf to run when changes to the data are performed.  
    Thank you in advance

    Friday, September 18, 2009 3:15 PM

Answers

  • I would suggest adding an event receiver OnItemUpdated that will check the Attachment and run the workflow from code only in case attachments changes.
    Don't run the workflow automatically on the list.
    Dennis Alzoubi
    • Marked as answer by Lily Wu Friday, September 25, 2009 12:39 AM
    Friday, September 18, 2009 7:08 PM