Hi Vipul
Thanks for the reply. I notice that the PDF on the link has been removed?
I think we'd need to contact the CSM.
In any case I found the steps from old neolane docs; adding them here so that others can benefit.
Enriching an event means adding to its description thanks to a JavaScript function. For instance, you can add a preference in terms of the channel to be used, or compare two templates before linking an event to one of them.
To do this:
1 Create a JavaScript file in the Administration>Configurations>JavaScript Codes folder,
2 Deploy it on each existing execution instance,
3 Define the name of the JavaScript file in the MC_RoutingCustomJs library found in the Administration>Platform>Options folder.
The file must contain the methods for which a signature is defined in the library. After execution, the JavaScript function must return the name of the delivery to be linked to the event. This additional data can be available in an external database. Make sure the execution instances are able to access it using SOAP calls.