In SAS Real-Time Decision Manager, an error similar to the following error occurs when you use the SAS® samaimport tool for campaigns that contain Business Rules.
14:25:09 DEBUG com.sas.analytics.crm.auxdataio.importing.MAImport - com.sas.analytics.crm.error.client.ApplicationException:Failed to find node definition to create node <Business Rules>
14:25:09 DEBUG com.sas.analytics.crm.auxdataio.importing.MAImport -
14:25:09 ERROR com.sas.analytics.crm.auxdataio.importing.MAImport -
com.sas.analytics.crm.error.client.ApplicationException
at com.sas.analytics.crm.auxdataio.integration.MAIntegrationCommand.run
(MAIntegrationCommand.java:322)
at com.sas.analytics.crm.auxdataio.importing.MAImport.main(MAImport.java:121)
Caused by: com.sas.analytics.crm.error.client.ApplicationException: com.sas.analytics.crm.error.client.ApplicationException:Failed to find node definition to create node <Business Rules>
at com.sas.analytics.crm.auxdataio.importing.MAImporter.doImport
(MAImporter.java:366)
at com.sas.analytics.crm.auxdataio.importing.MAImporter.doImport
(MAImporter.java:210)
at com.sas.analytics.crm.auxdataio.integration.MAIntegrationCommand.run
(MAIntegrationCommand.java:301)
... 1 more
This issue occurs due to a mismatch in NodeType codes, which the back-end relies on to import the campaign successfully.
To circumvent this issue, replace the NodeType code in the XML.
In your exported XML, find all the nodes with the <NodeName>Business Rules</NodeName> tag and change the node type of those nodes from <Nodetype>64</NodeType> to <Nodetype>58</NodeType>. Then, re-import the XML with the sasmaimport tool again.