Populating CallType
Last updated
Was this helpful?
Last updated
Was this helpful?
Within the entity, Databoxes; check wither a Databox has already been created listing the details for the CallTypes. If this does not exist; create a Company Data Databox with the following details:
Group: This can be named as per your Databox grouping structure. We have named the Group MIS in this example.
Name: We have named this CallTypeID to indentify the purpose of this Databox when used in the script.
Values: Enter the name and Value of the Job Type that you wish to add by clicking in the cells in the form.
Within Entity Databoxes; check whether a Databox has already been created for the CallType. If this does not exist; create a Databox with the following details:
Group: This can be named as per your Databox grouping structure. We have named the Group MIS in this example.
Type: General
Name: We have named this CallType to indentify the purpose of this Databox when used in the script.
Description: This can be used to give a description of the Databox, can be left blank.
XPath: Fault/CallType/text()
To add this to a script in order to pass the CallType back to MIS, please follow these instructions.
Within the script that you require the CallType to be passed, select Databox Read from the Item Type drop down list:
Navigate to the Company Data Databox created above and expand to show any code lines that have been created.
Drag this into the script. This will appear in the Script Step column
Select Databox Write from the Item Type drop down list:
Navigate to the Export Databox created above
Drag this into the script. This will appear in the action column
Finally Save the script.