Created
March 19, 2019 01:39
-
-
Save iaindooley/e53deba3395ad930c02bc1af82761a9b to your computer and use it in GitHub Desktop.
Notify relative to due date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scheduleNotifyRelativeToDueDate(notification,signature) | |
{ | |
new Notification(notification).actionOnDueDateAdded("actionScheduleRelativeToDueDate",signature,function(date) | |
{ | |
date.minusDays(3); | |
}); | |
} | |
function actionScheduleRelativeToDueDate(notification) | |
{ | |
new Notification(notification).replyToMember("You asked me to remind you about this"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment