Column of type=memo in eligibility criteria
Hello everyone,
I have extended the NmsRecipient schema with a listDefinition column. The column will contain concatenated list names. This column needs to be of type NCLOB in Oracle DB since it could be more than 2000 chars in the listDefinition. My plan is to use this column as a eligibility filter on each offer.
i.e IF NmsRecipient.listDefinition contains 'LST43' --> customer is eligible for a given offer
When I define the listDefinition column as type="memo" in Adobe Campaign, filtering with "contains" goes fine (including preview, which shows the expected two eligible recipients), until I try to "approve content", then I get the following error message:
Error when converting the 'data LIKE '%' + 'LST43' + '%'' expression into javaScript: Unsupported type 'memo' of xpath expression 'data'
An error occurred when converting expressions into JavaScript
SOP-330011 Error while executing the method 'CompileRealTimeScript' of service 'nms:interaction'.
(1:1) : Invalid document structure
XML-110018 Error while parsing XML string ''
[nms:webApp Error] SOP-330011 Error while executing the method 'CompileRealTimeScript' of service 'nms:interaction'.
(1:1) : Invalid document structure
XML-110018 Error while parsing XML string ''
Defining the column as type="string" and length=4000 seems to solve the problem above but this leads me to another problem when trying to sync the column value to from marketing to interaction. I have tried using a custom additional SQL function TO_CLOB to solve the problem below.
The update data gives me the following error:
08/05/2019 13:00:07 writer3 ORA-210000 Oracle error: ORA-00932: inconsistent datatypes: expected NCLOB got NCHAR
Any thoughts on this?