How to differentiate new items from existing items in SharePoint workflow

Posted by Jim Hoerber on Stack Overflow See other posts from Stack Overflow or by Jim Hoerber
Published on 2010-04-10T03:08:03Z Indexed on 2010/04/10 3:13 UTC
Read the original article Hit count: 389

Filed under:
|

I have a SPD workflow that is set to run when an item changes but it keeps getting triggered on new items, which is pretty annoying. I'm looking into why this is happening but I'm also looking for a way to terminate the workflow if the item is new as a temporary workaround.

I tried to compare the Created field to the Modified field i.e. if Created and Modified are the same then don't run. This didn't work, either as a date or string comparison.

Any suggestions would be much appreciated.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about Workflow