How to capture current date for Date fields.

  • KM00901793
  • 09-May-2014
  • 09-May-2014

Summary

How to capture the current date automatically for a date field.

Question

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.

Answer

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