Print

SetDeadline

This function sets deadling for current case. Deadline is specified by number of days and minutes from the moment of rule firing. If deadline is already set, it will be overwritten.

Syntax

SetDeadline("days","minutes");
SetDeadline("deadlineDate")

Function arguments

  • deadlineDate – (String) The deadline date
  • days – (Decimal) The number of days from current date
  • minutes – (Decimal) The number of minutes from current date

Return value

This function returns Boolean.
Returns true if deadline was set successfuly, false otherwise

Examples

Example 1:
This will set deadline for date 2017-03-20.

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

Example 2:
This will set deadline for current case to 14 days and zero minutes from current date.

SetDeadline(14,0);

Example 3:
This will set deadline for 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?