Sharepoint 2010 - SP designer workflow not sending an email when saving a new  document  in library.

Hello all,

I have a very simple workflow in SPD that looks to a field of a current item, and depending on what is chosen, sends a mail to a specific person.

When the document is uploaded, and the dropdown menu is set to whatever the user wants, and then saves, the workflow starts but no mail is sent. When I open up the item in edit mode and then save it again, the workflow starts and the mail is then sent.

It seems to me that when a document is uploaded and saved, the field is not triggering the mail.  WHen I open it up again, it then reads the field correctly and sends the mail.   Is there a way to get the info from the field on a new save?  The worflow is set to run on save and on change.

Workflow now is When: Current Item:Dropdownfield equals sendmail

then send mail to : users.

Thanks for any tips!

Brennan Best

April 30th, 2015 9:06am

I think the workflow is getting triggered during the itemAdding event. The column values get stored only after the itemAdding event is fired. Probably that's the reason why the workflow triggers after the save action the second time.

Just a thought, can you try after adding a pause step before checking the Column value?

Thanks

Sudeep

Free Windows Admin Tool Kit Click here and download it now
April 30th, 2015 11:02am

Thanks for the Tip Sudeep, I have added a pause for 1 minute and will see if that helps. I will let you know the results.
May 5th, 2015 2:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics