- 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 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 07:09 AM
I don't think that rule will work as the planned end date could be days out from the start date. The point is to reminder the Assigned to person to begin work on a Change 30 minutes prior to the communicated start time and date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 09:50 AM
I continue to work on this and while playing around I found that the Reminder field is always blank once the Change Request is submitted. In my testing I went in and filled in the time I wanted the reminder to appear and this actually worked. The issue is that it is a manual process versus an automated process as I thought we were creating.
Any further thoughts / help on this would be appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 12:47 PM
Hi Joan,
As others have suggested, I think that creating a workflow off the change request table can provide the same function, while you will be able to use the same script you have in the business rule.
You can set the workflow to run only when the start date is not empty, along with other conditions you might want to use, and then add a 'run script' step to include the following
var gdt = new GlideDateTime(current.start_date);
gdt.addSeconds(-1800);
var redate = gdt.getValue();
current.u_reminder.setValue(redate);
I tested this on my instance just to be sure that the reminder value actually populated with the field with the correct value.
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2014 01:58 PM
I agree that the workflow may be a better option. I am very, very new at ServiceNow (as you may have guessed) so looking at workflows can be a bit mind numbing. I pasted below the current workflow. Where does it make sense to put the new script?