- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 05:40 PM
Hello - I am running into a weird issue with pattern extension sections. When I save the pattern, all text in the pattern being wrapped in backslashes. Has anyone seen this before and possible root cause? Appreciate any insight.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 06:24 AM
I initially deleted the extension section and created a new one but it did not work. Then I created a new extension section and imported it into the instance I am seeing the issue with, then the issue was gone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 07:06 PM - edited 10-23-2023 09:07 PM
Hi @RK25
These back slashes are escape characters. For example in the value field you have inputted $""test"", ServiceNow will escape the second double quote to print it as is so it will become $"\"test\""
May I know the purpose of these double quotes you are using?
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 09:43 PM
Thanks for the response. I added none of the backslashes, my original text was '$test'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 06:24 AM
I initially deleted the extension section and created a new one but it did not work. Then I created a new extension section and imported it into the instance I am seeing the issue with, then the issue was gone.