> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/integrations/host-systems/activeh-desktop/mis-configuration/populating-call-classification.md).

# Populating Call Classification

{% hint style="info" %}
Configuration settings are published for information purposes only. Unless express consent has been granted, changes to configuration settings must only be made by Omfax Systems/Touch-Base Ltd technicians or their representatives.
{% endhint %}

The following is an extract from the MISExchange XML file. This extract contains the modified line (highlighted in blue) that is required to populate Priority at **User Task** level: .

```
<MISTask obj="CTSKTask" target="Priority_ID" dtype="int" length="4" type="FL" KFparent="Action" KFsource="Priority" KFsourceType="MIS_ACTION" sql="" />
<MISTask obj="CTSKTask" target="UserClassificationID" dtype="int" length="4" type="FL" KFparent="SubAction" KFsource="CallClassification" KFsourceType="MIS_ACTION" sql="" />
```

This can be seen in further context below\...

```
<MISTask obj="CTSKTask" target="" dtype="" length="" type="FL" KFparent="Action" KFsource="ActionCode" KFsourceType="MIS_ACTION" sql="">
	<MISTask obj="CTSKTask" target="Subject" dtype="varchar" length="100" type="FL" KFparent="Action" KFsource="ActionCodeDesc" KFsourceType="MIS_ACTION" sql="" />
	<MISTask obj="CTSKTask" target="Priority_ID" dtype="int" length="4" type="FL" KFparent="Action" KFsource="Priority" KFsourceType="MIS_ACTION" sql="" />
	<MISTask obj="CTSKTask" target="Description" dtype="varchar" length="2000" type="FL" KFparent="" KFsource="EnquiryText" KFsourceType="MIS_ACTION" sql="" />
	<MISTask obj="CTSKTask" target="UserClassificationID" dtype="int" length="4" type="FL" KFparent="SubAction" KFsource="CallClassification" KFsourceType="MIS_ACTION" sql="" />
	<MISTask obj="CTSKTask" target="SetGatewayValue" dtype="" length="" type="FL" KFparent="SubAction" KFsource="SubActionValue" KFsourceType="MIS_GATEWAY_VALUE" sql="">
		<MISTask obj="CTSKTask" target="SetGatewayValue.FieldName" dtype="varchar" length="256" type="FL" KFparent="SubAction" KFsource="SubActionKey" KFsourceType="MIS_GATEWAY_VALUE" sql="" />
		<MISTask obj="CTSKTask" target="SetGatewayValue.Value" dtype="varchar" length="255" type="FL" KFparent="SubAction" KFsource="SubActionValue" KFsourceType="MIS_GATEWAY_VALUE" sql="" /></MISTask>
</MISTask>
```

The first highlighted section specifies how to populate the Priority. No further amendment to the Keyfax system should be required to populate the priority. In order to populate the Call Classification, amendments need to be made to the Keyfax database, and the selection of a classification needs to be manually scripted.

### Scripting to pass back the Classification ID

To pass back the Classification ID to MIS CRM, you will need export to the Call Classification Node via an Export Databox.

<figure><img src="/files/OIyYvxlYdjSe6ZezbJbl" alt=""><figcaption></figcaption></figure>

Call Classifications ID that have been obtained from the ActiveH Database can be set-up as a Fixed Text Databox.

<figure><img src="/files/ERULFNgZmYRNG2jZIUN6" alt=""><figcaption></figcaption></figure>

To script the ‘picking up' of a Call Classification, read from the FixedText databox and then write to the Call Classification Export Databox.

<figure><img src="/files/KeIXPrqDWrvo8hjql6Lh" alt=""><figcaption></figcaption></figure>
