...
In order to apply the JS condition/action to the FIX message, you should use the Script element.
Code Block | ||||
---|---|---|---|---|
| ||||
<Condition> <Script Language="JavaScript" FileName ="testScript.js"/> </Condition> <Action> <MoveField SourceField="32" TargetField="48" /> </Action> |
...
Note |
---|
Do not use JS elements that modify the message (for example setStringField or transform) as a condition, because it will lead to an error that interrupts the script. |
...