The variable should contain 'example' as an prefix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 04:38 AM
The variable should contain 'example' as an prefix. how to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 05:01 AM
Hi,
can you explain your use case a little bit more, so we can try a solution?
Thanks,
Damini Sheth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 05:16 AM
I should create a variable named 'account' with free text and it should contain the word 'example' as an prefix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 06:24 AM - edited 03-31-2023 06:26 AM
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Damini Sheth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 05:05 AM
Hi @Archana23 ,
You can create Client script
a few examples:
onLoad client script: set prefix to variable
onChange client script: concatenate a string with prefixes when data is entered
onSubmit client script: concatenate a string with prefixes when form in submited
Also, you can refer to this solution and replace it with "Example" :https://www.servicenow.com/community/developer-forum/how-to-add-a-symbol-as-prefix-in-a-variable/m-p...