This documentation applies to the 8.1 version of Remedy Action Request System, which is in "End of Version Support."

To view the latest version, select the version from the Product version menu.

Syntax for variables in templates

With incoming email, you can use variables in templates. Variables are useful when you need to substitute values for the fields to submit an entry.

Use the following syntax for variables:

#$$Variable Name$$#



If you expect the value of a variable to span multiple lines, then enclose the variable with brackets:

[$$
...
$$]



The following example of a template file (.arm file) submits a new employee name into the Employee Information form:

Schema: Employee Information
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
Employee Name !VEmployee Name!: [$$#$$VEmployee_Name$$#$$]



The characters between exclamation marks exactly match the field ID or database name of the field on the form. The variable is called VEmployee_Name. Because the variable might span multiple lines, it is enclosed by brackets [$$...$$].

When you send a submit instruction, you also can provide a value for variable $$VEmployee_Name$$, as shown in the following example:

Schema: Employee Information
Server: server1
Action: Submit
Short Description !8!: $DATABASE$
Submitter !2!:$USER$
!VEmployee_Name!: [$$Joe Smith$$]

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments