Print

SetReminder

The SetReminder() function sets a reminder date for the current case. The reminder date is specified by a number of days and minutes from the moment of rule firing. If the reminder is already set, it will be overwritten.

Syntax

SetReminder(days,minutes);
SetReminder(reminderDate)

Function arguments

  • reminderDate – (DateTime) the reminder date (and time);
  • days – (Decimal) the number of days from the current date;
  • minutes – (Decimal) the number of minutes from the current date.

Return value

This function returns Boolean.
Returns true if the reminder was set successfully, false otherwise.

Examples

Example 1

This will set a reminder date to 2017-03-20.

SetDeadline(DateTime(2017,3,20));

Example 2

This will set a reminder date for the current case to 14 days and zero minutes from the current date.

SetDeadline(14,0);

Example 3

This will set a reminder date for the current case to 2 days and 30 minutes from current date.

SetDeadline(2,30);

 

Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?