Start SharePoint workflow only with new file versions
        Posted  
        
            by NeiOliver
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by NeiOliver
        
        
        
        Published on 2010-06-09T06:25:55Z
        Indexed on 
            2010/06/09
            6:32 UTC
        
        
        Read the original article
        Hit count: 230
        
I am trying to create a workflow to send an e-mail whenever a new version of a file is uploaded to a Document Library.
The Document Library has lots of fields that, if updated, will create a new version of the ListItem, but I don't want to start the workflow for this cases.
Only when a new version of the document is uploaded (including the first version) I want the workflow started.
My document library does not need approval, only major versions are enabled and it does not need to checkout files before editing.
Is there a way of doing this, even programmatically?
© Stack Overflow or respective owner