Hey all! I am using Nintex Workflow 2013 and SharePoint 2013. I want to send an email notification the 13th of every month. How do I do that? I am sure others may need this same capability but the day may be different.
Solved! Go to Solution.
I believe I've got a solution for you. Please note, I verified this in SP2016 but I would expect the functionality to be there for you.
To create workflows to perform scheduled notifications, Nintex Site Workflows can be created and scheduled to run on a daily basis. Each day, the workflow will test to see if the current day and the “Run on Date” match – if they do it will send the notification, otherwise it will do nothing.
Create a new site workflow and create the following Workflow Variables:
Create a new Calculate Date action, and configure it to Use date when action is executed and update the TodayDate variable.
Next, use a Build String variable to parse the TodayDate workflow variable and get the day value, storing it within the TodayDay variable:
Create a condition to compare the TodayDay and RunOnDay values. If setting the RunOnDay less than 10, be sure to use a “0” prefix so the strings will match.
After adding the Send Notification to the “Yes” branch. Publish the workflow.
Navigate to the Nintex Workflow settings and select Schedule Site Workflows, and select Add Schedule. In the settings, be sure to specify the value of the RunOnDay variable, ensuring that the period is setting to 1 day.
Thanks so much for your solution.
I ended figuring the solution out Friday. I didn't want to put a field on the form for this. What I did was this:
*I created TodaysDate variable getting it from the CurrentDate in the workflow.
*I did a RegEx action on TodaysDate using the "/" to parse on.
*I pulled the day from the collection.
*I did an If Else action to say if that value = 13, send an email.
*This is a site workflow that will run everyday.