Self-Solve Knowledge Search

Minimize Maximize
How to capture current date for Date fields.
Title :
How to capture current date for Date fields.
Document ID :
KM00901793
Product - Version:
service manager ;
OS :
Updated :
Fri May 09 20:09:28 GMT 2014
Summary :
How to capture the current date automatically for a date field.

The following example, shows how to do this for the date field in the Autoformat Rule when viewing in the Cuztomized Current View option in a queue.

Solution

1. On the SM command line please type wizards and hit enter.
2. Search for the wizard:
view.Autoformat
3. A list will be display with several records, the on modify are:
view.AutoformatAddRule
4. On the File Selection Tab -Initial Expressions, add the following line:
$CompareDate1=tod()
5. Click Save and Ok.
6.Repeat the steps for: view.AutoformatEditRule1