Configures a reminder that fires a set time before a task's due date, computed as periodMultiples frequency units subtracted from the due date, with a subject and body for the reminder message. Represented as a "taskReminder" node in a funnel definition. As it stands, entering this node throws UnsupportedOperationException, so it is not yet wired up to fire from a live funnel.
Group: Journeys
Extends: AbstractGoalAction
Properties
| Property | Returns | Description |
|---|---|---|
| body | String | The body text for the reminder message. |
| frequency | String | The time unit used with periodMultiples to compute the reminder date, for example "days" or "hours". |
| periodMultiples | int | The number of frequency units subtracted from the task's due date to compute the reminder date. A value of zero or less means no reminder date is calculated. |
| subject | String | The subject line for the reminder message. |
Methods
getFrequency()
Returns: String
The time unit used with periodMultiples to compute the reminder date, for example "days" or "hours".
getPeriodMultiples()
Returns: int
The number of frequency units subtracted from the task's due date to compute the reminder date. A value of zero or less means no reminder date is calculated.
getSubject()
Returns: String
The subject line for the reminder message.
getBody()
Returns: String
The body text for the reminder message.
calcDueDate(Date taskDueDate)
Returns: Date
Computes the reminder's due date by subtracting periodMultiples frequency units from the given task due date.
| Parameter | Description |
|---|---|
taskDueDate | the due date of the task the reminder is for |