Populating JobType

JobType - Company Data Databox

Within the Entity Databoxes; check whether a Databox has already been created listing the details for the JobTypes. 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 JobTypeID to identify the purpose of this Databox when used in the script

  • Values: Enter the name and Values of the Job Type that you wish to add by clicking on the cells in the form.

TIP To add another line to the Databox click the + button on the right. Multiple JobType codes can be added to the same Databox so this will only need creating once.

JobType - Export Databox

Within the Entity Databoxes; check whether a Databox has been created for the JobType. 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 JobType to identify the purpose of this Databox when used in the script

  • Description: This is so that a description can be given detailing the use of the Databox. This can be left blank if required.

  • XPath: Fault/JobType/text()

NOTE The XPath is case sensitive. Please also ensure that there are not two Databoxes with the same Xpath as this will cause Keyfax to error upon submission.

Adding the JobType to a script

To add this to a script in order to pass the JobType back to MIS, please follow these instructions.

Within the script that you require the JobType 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 - in this example ResponsiveRepair

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

Save the script.

Last updated