You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OLC - Getting error while adding URL and QR code inside alert template

Summary:

We wanted to add URL and QR code inside alert template.

Content (please ensure you mask any confidential information):

We added the url and qr code inside alert template in 2023 and it worked.

Now we wanted to replace that url and qr code with new one.

But when we tried to add the url and qr code, we are getting the below error as mentioned,

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 width=\"600\"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!