
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 12:11 AM
Hi,
On my record I have variable called name referenced to sys_user table.
After form submission form the portal why the case description show the logged in user value as well next to the variable as orginal value
I'm aware this is populating from "hr_CaseUtils" script include by the method "_getDescriptionFromAnswers ".
How to avoid that.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 01:37 AM
Tried, though because the blanc value it is ignored:
Tried with a ".", works so the getMessage theory is oke.
Only works on SP:
Of course you could also go for editing the Script Include like I described. Though I personally would avoid changing the Script Include if possible (then it's not out-of-the-box anymore and updates from patches/upgrades will ignored).
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 12:57 AM
Hi there,
You are missing the last ")".
The key is not exactly the same as what is in the getMessage in the Script Include.
Everything between the '':
' (original value: {0})'
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 01:06 AM
Ahhhh
Leaving it blanc will make the message be ignored. Just tested this on my PDI.
Though working if I just hit a ".". So the theory of the sys_ui_message works, though just not with blanc value. Also tested with " ", that does work on Service Portal but does not work on Platform UI.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 01:11 AM
Ohhh.
What could be the exact config for my sys_ui_message. Could you please paste the screenshot of yours.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 01:37 AM
Tried, though because the blanc value it is ignored:
Tried with a ".", works so the getMessage theory is oke.
Only works on SP:
Of course you could also go for editing the Script Include like I described. Though I personally would avoid changing the Script Include if possible (then it's not out-of-the-box anymore and updates from patches/upgrades will ignored).
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2019 01:44 AM
Thank you Mark.