There is one condition where you can either enter JavaScript directly, or call a JavaScript file or function. This is the Function Return Value condition on the Custom JavaScript conditions menu.

There are two actions where you can either enter JavaScript directly, or call a JavaScript file or function. These actions are the Run Custom JavaScript action on the Custom JavaScript actions menu, and the Populate from JavaScript Variable action on the Custom Data actions menu.

When you enter JavaScript directly, Engagement Engine performs a syntax check on the code you enter to ensure that it contains valid code. Engagement Engine does not perform any checks on the functionality of the code entered and it is your responsibility to ensure that the code behaves as expected.

There are limits to the JavaScript that can be directly entered via a condition or action. The eval function is not permitted and Engagement Engine does not permit you to save any rule with an eval command


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices