3

I am new to SharePoint, especially SharePoint 2013.

I have created a workflow via SharePoint Designer 2013 with the following conditions- If a new document is created with the "Date Created" equaling today, an email notification will be sent out.

If says "Completed" in the workflow taskbar but no email is ever sent nor is there any history within the workflow history.

Does anyone know that might be wrong?

I have been able to created other workflows and have email notifications in the past and today.

Thanks in advance!


If statement in SP Designer:

If statement in SP Designer

Workflow settings- to start automatically when new document is created/modified:

Workflow settings- to start automatically when new document is created/modified

Column showing completed but no workflow history or email:

Column showing completed but no workflow history or email

2

Date Created returns date and time, but Today returns only date (12:00 AM). So they are not equal, and your condition is never true. -- Evgenii Vilkov

It's true, so use the below action during comparison. Change compare action equal to equals(ignoring time)

enter image description here

1

Date Created returns date and time, but Today returns only date (12:00 AM). So they are not equal, and your condition is never true. You can check this by logging these values into history list (there is a special action for this).

I'm not sure this solution fits you, but you can change equals condition to equals (ignoring time), then workflow should work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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