When Declaring A Function In Business Service Server Script In WebTools An Error Is Received When Using Keyword Function
(Doc ID 2819441.1)
Last updated on FEBRUARY 14, 2022
Applies to:
Siebel CRM - Version 21.5 and laterInformation in this document applies to any platform.
Symptoms
Script with text Function Name is throwing and error when saving in WebTools.
- Open Siebel WebTools and navigate to Business Service.
- Add in general > declarations
function test (val, name)
{var = "\n Function X \n";}
- An error is received when trying to save.
You can only define one function per script. Multiple functions found:
* test
* X
This error also occurs when using the word "function" in RaiseErrorText, e.g.:
TheApplication().RaiseErrorText("This function is expecting an input value.");"
Please review this input and make any needed updates.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |