...
Once enabled, select the language in which you wish to write your script:
Velocity is deprecated, consider Javascript as the default, see subpage for examples
Add the custom script that performs the specific action (the example shown here uses a Velocity script):
Select or create a Test Case to use when testing the script:
Add a Test Script. This is used to validate the outcome of the test case when the script has ran and must be written in the same language as the custom script:
Press Validate to test the script. Any issues will be displayed explaining why the script failed to execute, underneath the script where the issues occurred:
Make the relevant changes and then press Save.
This script will then be used to modify incoming messages which are mapped to the Profile, before running the standard JEMHCloud process.
Adding a Test Case
A Test Case can be added by either creating your own email within the Test Case box or by selecting an existing Test Case from the Load Test Case list.
...
For Velocity examples, see Velocity Scripted Pre-Processing Examples.
For ECMA Script examples, see ECMA Script Scripted Pre-Processing Examples.