Table not linked to Recipients
So, I've a case where we need the values from "channel_of_comunication_id" from schema "comunications_preference" when filtering "recipients" schema (the OOTB recipients).
I think, I have to ways to accomplish this:
1.- Link "comunications_preference" schema with Recipients.
2.- Make an Enrichment in the workflow to get that column ("channel_of_comunication_id") from schema: "comunications_preference". The field "recipients" and "comunications_preference" share is: "codinternocomputacional".
While trying to use Enrichment, I don't see the table "comunications_preference" as option to select:


Question:
1.- How to make the link with Recipients?
2.- Should I keed noDbIndex="true" for this case?
Here is the schema's "comunications_preference" XML:
<srcSchema _cs="comunications_preference (abc)" created="xxx"
createdBy-id="0" desc="xxx"
entitySchema="xtk:srcSchema" img="xtk:schema.png" label="comunications_preference"
lastModified="xxx" mappingType="sql" md5="xxxx"
modifiedBy-id="0" name="comunications_preference" namespace="abc"
xtkschema="xtk:srcSchema">
<createdBy _cs="xxx"/>
<modifiedBy _cs="xxx"/>
<element autopk="true" label="comunications_preference" name="comunications_preference">
<attribute label="codinternocomputacional" name="codinternocomputacional" type="string"/>
<attribute label="channel of comunication id" name="channel_of_comunication_id"
type="string"/>
<!--Cardinalidad Recipient vs. channel of comunication 1-N (A recipient can have multiple channels of comunication)-->
<element integrity="normal" label="Recipient" name="recipient" noDbIndex="true"
revIntegrity="normal" revLabel="Recipient PreferenciasCom Link" revLink="comunications_preference"
target="nms:recipient" type="link">
<join xpath-dst="@id" xpath-src="@RECIPIENTID"/>
</element>
<!--Indices -->
<dbindex name="codinternocomputacional">
<keyfield xpath="@codinternocomputacional"/>
</dbindex>
<dbindex name="channel_of_comunication_id">
<keyfield xpath="@channel_of_comunication_id"/>
</dbindex>
</element>
</srcSchema>