Email Client Templates using Javascript calls that send multiple parameters to a function fail due to a Javascript compiler exceptionIssue When calling a function from a Script Include from an Email Client Template, for example the Recipients->To field, the function call will fail with a Javascript compiler exception if multiple parameters are passed to the function. For example this will work (one parameter):Recipients->To: javascript: var si = new global.TestEmailClient(); si.ToEmailOneParam('HR'); This won't (two parameters):Recipients->To: javascript: var si = new global.TestEmailClient(); si.ToEmailWithParms('HR', 'Admin'); ReleaseUtah and earlier releasesCauseA Javascript compiler exception is seen when using multiple parameters: 2023-07-11 20:11:13 (953) Default-thread-139 17240528DB803150E1CE5E92F396196F txid=d74d4d284120 WARNING *** WARNING *** Javascript compiler exception: missing ) after argument list (<refname>; line 1) in:var si = new global.TestEmailClient(); si.ToEmailWithParms('HR'ResolutionSuggested Workaround Workaround this Problem by passing only the current object (i.e only ever use one parameter). You can then pull the values required out of the current object. For example: javascript: var si = new global.TestEmailClient(); si.ToEmailOneParam(current); (and then use code in the Script Include to pull out the needed values to decide what email address(es) to return) Fix PRB1683312 (Email Client Templates using Javascript calls that send multiple parameters to a function fail due to a Javascript compiler exception) has been raised with our developers to consider a fix in a future release.