Linking Scripts to Tenant Handbook

From Keyfax Wiki
Jump to: navigation, search

Description

Display a message to the user that directs the caller/tenant to the correct page in their Tenant Handbook based on the selected Category in Keyfax.

Setup

Step One

Find your RecordedText, FaultText or EnquiryText Export databox and add the following expression to it.

235.png

This will extract the category that has been selected if it is the first part of the recorded text, if not you will need to change which entry is selected

The default position for the category text in the recorded or fault text is the first.

Step Two

Create a script databox that will check which category was picked up by the first expression. Set it up listing all the categories you want to be picked up that match your handbook.

236.png

Create another script databox that you will write the correct page number into.

237.png

Step Three

Setup a company databox that will map the detected category to the desired page. This will allow you to easily make changes if the Tenant Handbook changes.

238.png

Step Four

Create a message to display the information to the user.

239.png

Step Five

Create a script that uses the above databoxes to populate the message with the page number dependant on which category has been selected.

240.png

You can then call this script whenever you want using a system script.