Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In my workflow I want to send two different e-mails based on how the workflow is started.

I'm checking whether Association:Start on Item Change or Association:Start on Item Creation equal to 'Yes' but the workflow always executes the actions in the Creation block even if I edit the item to trigger the workflow.

Am I mistaken to use these parameters for this purpose? Or is something wrong with my Sharepoint?

Thanks!

share|improve this question

2 Answers 2

up vote 2 down vote accepted

When I have a workflow that fires on creation and change, I typically need some sort of value to do an evaluation on in the foirst step of the workflow. This could be a hidden status column or a field with a default value.

Then based on the value of that column, I go down different trees of the workflow.

share|improve this answer
    
+1 for simple solution. –  frbry Sep 16 '11 at 5:59

The settings you reference check the current workflow to see if it is configured to run on Item Change or Item Creation, not what context it is actually running in. If you want the workflows to do different things, then I would create one workflow for create and one for change.

share|improve this answer
    
I agree that's also an option but the duplicated part in two workflows are rather large and I don't really want to do that. –  frbry Sep 16 '11 at 5:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.