Thank you for linking the documentation.
Indeed, the problematic part in the url seems to be near to '...&sys_id...' (as the exception is reporting 'sys_id').
According to docs, the ampersand should be correctly escaped. At least, the operation editor allows me to save the mail template (then I get the exception during runtime).
Anyway, the docs are giving me some suggestions... I'll do some experiments, then I'll let you know the outcome.
Ciao!
------------------------------
Andrea Gatto
------------------------------
Original Message:
Sent: Fri September 12, 2025 01:24 AM
From: Franz Wolfhagen
Subject: ISIM email notifications errors in trace.log
You cannot just add a URL like that as it contains characters that will break the XML of the template (and that is the error you get).
You may want to check this part of the documentation : https://www.ibm.com/docs/en/sig-and-i/10.0.1?topic=reference-dynamic-tags-in-mail-templates but you cn also try to substitute the violating characters in the URL to get it working...
HTH
------------------------------
Franz Wolfhagen
WW IAM Solution Architect - Certified Consulting IT Specialist
IBM Expert Labs
------------------------------
Original Message:
Sent: Tue September 09, 2025 11:40 AM
From: Andrea Gatto
Subject: ISIM email notifications errors in trace.log
In particular, this is the offending portion in XHTML message body:
<a href="https://xxx.service-now.com/esp?id=esp_sc_cat_item&sys_id=11e5806e8759ad106d7665370cbb359b&sysparm_category=24c63f1a8719ad106d7665370cbb35a8"> Portale dei Servizi > Servizi IT > Gestione Utenze > Account Consulente Esterno </a>
------------------------------
Andrea Gatto