CreateQueueAttributeDTTM
Syntax: CreateQueueAttributeDTTM(name, ccyymmddhhmmss_DateTimeValue)
Argument:
- name is any descriptive name that you wish to give the queue attribute. This is a required argument.
- ccyymmddhhmmss_DateTimeValue is a DateTimeValue in the ccyymmddhhmmss format where ccyy is the year, mm is the month, dd is the day, hh is the hour, mm is minutes, and ss is seconds. A DateTimeValue of "20090102105033" represents January 2, 2009 10:50am and 33 seconds.
Return Type: Void
Description: This function sets up additional Queue Attributes in the Case Manager Queue Editor based on a rule and date-time value.
Example:
{
TriggerCase(ACCOUNT);
CreateQueueAttributeDTTM("QAttribDTTM", concat(CRTRAN24.transactionDate, CRTRAN24.transactionTime));
}
In this example, the queue attribute pair is the QAttribDTTM QAV 1 name and the value of the concatenated version of the current transaction's date and time. The Case Manager Queue Editor filter criteria can use these attributes to set up search criteria where QAV 1 Name = QAttribDTTM and QAV 1 DATE < a date and time you provide.
![]() | Note: Instead of entering a date and time, you can also use the SQL keyword NOW to represent the current date and time.
|