System Values
What they are and how to use them
Last updated
Was this helpful?
What they are and how to use them
Last updated
Was this helpful?
A System Values Databox can be one of a number of different types according to the System Value selected on creation of the Databox.
Group - when displayed in the left hand menu, Databoxes are arranged into groups. Select a group from the dropdown list to add the Databox to an existing group or type in a new group name to create a new group.
Name – a descriptive name for the Databox. Use a meaningful description to identify the Databox in relation to its purpose for ease of recognition.
The value returned for each System Value is described in the sections below.
Date - This returns the current date and time in the format "Apr 06 2018 09:00:00".
CallRef - This returns the Order Id reference where a Service (SOR code) has been generated by the script. It can only be used as a Task bookmark as the Order Id is not generated until after the system results script and only if any Service has been generated by the script.
Services - This is only available for use as a bookmark in Keyfax Tasks and returns details of all Services recorded in a script in an XML format as in the sample below. This is typically used in conjunction with a Transform expression to format the results into an html table for inclusion in an email.
Transform Example:
ScriptPath - This returns the current list of questions and responses formatted as required for each specific host Housing Management System. This is typically only of use in scripts when the export ScriptPath is returned as plain text or html. It is typically only used in 'stand-alone' online configurations to email the online Q&A responses for advisors to manually process the request.
Prior to InterView v4.1.4.16, the ScriptPath System Value is only available for use as a Task (or message) bookmark.
TaskCode - This should only be used in a task template and returns the task action code for the 'current' task being processed. This is typically used to place the task code on the template as a visible 'stamp' to identify the source of a letter or email after it has been sent. TaskId This returns the ContactView Task Id reference and is only relevant for installation with ContactView configured (requires a separate license). It can only be used as a template bookmark as the ContactView Task Id is not generated until after the system results script.
TotalCost - This returns the total cost based on the Services generated by a script. The total cost is based on the recorded services and quantities with a configurable fee plus VAT. This is formatted to 2 decimal places.