sharepointsharepoint-2010workflowsharepoint-workflow

Get Context from Workflow sharepoint 2010


Im designing a workflow in Sharepoint 2010 to run whenever users create itens or update itens... my question is how can i know if the item the fired the workflow was created or updated?


Solution

  • Test if (Created == Modified)

    If it is true then it should be created, otherwise it is modified.

    That is, as long as you are not doing anything fancy with SystemUpdates or timestamps etc.