- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2014 01:27 PM
Our team would like to be reminded of an upcoming change that is assigned to them and they would like to see it 30 minutes prior to that date and time. How do you perform this? Are there examples out there? I am very new to ServiceNow, so please provide as much detail as possible. I thank you in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 06:57 AM
Hi Joan,
Your business rule looks to be set to populate the Reminder date field, but only if the start date is filled in with a value. I would change the business rule to the planned end date value (current.end_date), and then enter a date value in this field to test your business rule. If it works, then the business rule should enter the reminder value to be 30 minutes (-1800) from the planned end date.
Thanks,
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 02:11 PM
I would keep it simple and have a separate workflow created that is triggered when the start date value is entered on the change request table. This allows it to be available for any change request where the planned start date is entered, not just those that would run with your example workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 12:20 PM
I need more guidance on the workflow side. Here is what I have and what it is doing. It is calling the Workflow, just not sending the reminder when it is supposed to.
I set the workflow on the Change Request table and add the conditions I needed
Created the script as you suggested:
Logged the flow using the change.reminder Event Registry
It calls the Notification created in our earlier steps
The problem is that the Email Notification is set to run when the Event change.reminder is Fired. Thus this reminder comes out immediately and does not wait until 30 minutes prior to Planned Start Date.
You are correct that the new field u_reminder does get filled in and gets filled in with the exact time of 30 minutes prior to Planned Start Date. So that is working correctly.
What do I need to change to have the notification come out based on the u_reminder date/time?
Workflow screen shot below:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2014 12:44 PM
Hi Joan,
You really don't need anything other than the run script step in your workflow (as shown in my screenshot). You should still have the "Change Reminder Rule" business rule looking for when the u_reminder value is changed, which should then kick off the email notification (not a workflow-based notification) at the set time of the u_reminder value.
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 06:36 AM
Your image did not come thru. I made the change as you suggested and it is still not working. It does not fill in the u_reminder field nor does it create the Reminder and have it wait for the ½ hour before mark.
Workflow Property:
Script:
Workflow image:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2014 07:01 AM
Hi Joan,
Thank you for including the PDF. I have included changes that are needed below.
1) Please set the "Change Request Reminder" business rule to inactive, as this is attempting to do the same function as the run script step in your workflow.
2) You can remove the "Create Event" step in your workflow as you have already created the event "change.reminder". You can keep the Log Message, if you want to generate a message to verify the script was run. But at the minimum, you just need the Begin, Run Script, and End steps.
3) It might also be useful to add "&& !current.u_reminder.nil()" to your "Change Reminder Rule" so that it is activated only when the reminder value is not empty.
4) In the PDF, arrange the last two steps because the Change Control Reminder workflow is activated when the state is changed to Implemented, and then the reminder value is entered.
Thanks,
David