Chapter 6: User Interface

Using Queries

workitem_status_lookup_id=$prompt_lookup("Select work item status:", "StatusList")$

The following lookup queries are available:

PriorityList

StatusList

TypeList

$prompt_datetime(“<prompt>”)$

The parameter $prompt_datetime(“<Prompt>”)$ will produce a datetime control labeled with <prompt> on an intermediate page where the worker can provide datetime data. The control will be initialized with the current date and time. The resolved parameter will be quoted.

Example: $prompt_datetime(“<prompt>”)$:

workitem_modified_on > $prompt_datetime("Work items modified after:")$

$prompt_date(“<prompt>”)$

The parameter $prompt_date(“<Prompt>”)$ will produce a datetime control labeled with <prompt> on an intermediate page where the worker can provide date data. The control will be initialized with the current date. This parameter is particularly useful when querying against workitem_start_on and workitem_due_on fields because only the date portion of those fields are stored in the db. The resolved parameter will be quoted.

Example $prompt_date(“<prompt>”)$:

Altiris Helpdesk Solution User Guide

77