Oracle Integration · JavaScript action

JavaScript execution error: Cannot find function replaceAll

Short answer

This Oracle Integration error means the JavaScript engine in Oracle Integration does not support the replaceAll function. Use replace with the global option, which is a regular expression with the g flag.

VerifiedLast verified

01Error text

Oracle Integration error
JavaScript execution error
TypeError: Cannot find function replaceAll in object

02Likely causes

  • The replaceAll function is not supported by the JavaScript engine in Oracle Integration.

03How to fix it

  1. Use replace with the global option, which is a regular expression with the g flag.
  2. Or use split and join instead of replaceAll.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for Oracle Integration work:Open Oracle Integration jobsOracle Integration rates and salaries

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.