Email header settings
Click on
Add header to
create a new property. Some properties are already predefined. If a
property is selected in the
Name column, the
corresponding values in the
Value column will be
offered for selection.
Both the entries in the
Name column and the
selectable values in the
Value column are
contained in the file
<intrexx>\client\cfg\mailheader.properties.
You can change or add to these presets as required by adjusting
the file to your preferences.
If, in addition to the predefined ones, your own properties are
to be created, these can be entered directly in the dialog. To do so,
click on
Add message header and
enter the property and the value directly into their respective
columns.
Instead of static values, dynamic values can also be implemented here,
for example from the shared state of the current processing context.
The following
prefixes are supported:
urn:sharedState:
urn:request:
urn:session:
urn:user:
urn:systemDataGroup:
In a specific example within a Groovy action or filter condition,
def strValue = g_record["5A1D3EC0DB71BE6B6BC4F83BECCE85ACD22F82E6"].value
g_sharedState.customValue = strValue
can be used to define a shared state variable with the name
customValue,
which will be filled with a specific value, such as the value from a
data field.
In a follow-on email action, the value set in the shared state can be
read out again. For this, use the
prefix named above:
urn:sharedState:
followed by the name of the variable defined in the Groovy action,
customValue.
When using an entry from a system data group, the value is put together
as follows:
urn:systemDatagroup:APPLICATION_GUID:DATA_FIELD_GUID
Enter the application
GUID here where
the system data group was
created, and the GUID of the data field rom the system data group, the
value of which should be used, e.g.:
urn:systemDataGroup:142EB475CEF4B719CE2A8430AFEEAF986BFCB229:8647E7B2E26E98FCBAF32DE2C867B2EF756707DA
If the header information has been defined, click
OK here, in order to save the new settings.