OLC - Unable to add the URL inside alert template and getting error
Summary:
Getting error while adding the URL as a link inside alert template.
I raised an SR but Oracle Support rejected it and mentioned its an custom alert which we won't support.
Content (please ensure you mask any confidential information)
When we tried to add the URL inside alert template, we are getting the below error,
Error
- Expression for the template body is invalid. Error Message: The Groovy Expression is not valid/supported at the moment.. (HRC-1035495)
Expression for the template body is invalid. Error Message: Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed: SimpleTemplateScript102.groovy: 1: String too long. The given string is 537287 Unicode code units long, but only a maximum of 65535 is allowed. @ line 1 , column 11. out.print("""<table width="600" align="center" cellspacing="0" cellpadding="10" border="0"><tbody><tr><td rowspan="1" colspan="2" valign="top"> ^ SimpleTemplateScript102.groovy: 1: String too long. The given string is 537287 Unicode code units long, but only a maximum of 65535 is allowed. @ line 1 , column 11. out.print("""<table