Chapter 7: Administration

E-mail Template Macros

E-mail Template Macros

When you are adding or editing an e-mail template, you can use special macros in the message for the From, Subject and Body boxes to represent data that will be inserted by Helpdesk Solution when it generates e-mail using the template. There are three different classes of macros: simple, complex and mail.

Simple Macros

Simple macros resolve into a single value or work item data.

WORKITEM(<workitem_field>)

<workitem_field> is the name of a field in the current

 

work item (the one that was just updated). The value

 

of that field replaces the macro.

 

For Example: WORKITEM(workitem_number) will

 

be replaced with the work item’s number.

 

The list of valid fields corresponds to the columns in

 

the workitem_current_view view.

 

 

CONTACT(<contact_field>)

<contact_field> is the name of a field in the record of

 

the contact that is associated with the current work

 

item. Note All contact information is available using

 

the WORKITEM() macro.

 

 

MANAGEDOBJECT(<managed_object_field>

< managed_object_field > is the name of a field in the

)

record of the asset that is associated with the current

 

work item. All asset information is available using the

 

WORKITEM() macro.

 

 

ASSIGNED_TO_WORKER(<worker_field>)

<worker_field > is the name of a field in the record of

 

the worker that is associated with the current work

 

item as the assigned to worker. Most assigned to

 

worker information is available using the

 

WORKITEM() macro

 

Use ASSIGNED_TO_WORKER () to see information

 

such as ASSIGNED_TO_WORKER

 

(worker_organization_name) that is not available

 

through the WORKITEM() macro.

 

 

MODIFIED_BY_WORKER(<worker_field>)

<worker_field > is the name of a field in the record of

 

the worker that is associated with the current work

 

item as the modified by worker. Most modified by

 

worker information is available using the

 

WORKITEM() macro.

 

Use MODIFIED_BY_WORKER () to see information

 

such as MODIFIED_BY_WORKER

 

(worker_organization_name) that is not available

 

through the WORKITEM() macro.

 

 

Altiris Helpdesk Solution User Guide

120

Page 120
Image 120
HP Altris eXpress Helpdesk Solution 5.6 SP1 manual Mail Template Macros, Simple Macros