- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 04:51 AM
I have a catalog item in that i have a multiple choice variable , i need to get the value from this variable and need to show this in cmdb resource group table in environment choice field.
How can i achieve this? Thanks in advance.
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 10:29 PM
then use inline script and use if else
get the catalog variable value and compare it and return the correct choice value for that field
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:16 AM
In get catalog variables i have selected this sh_srvc_tier , but still , its showing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:21 AM
Hi,
Please share complete screenshots.
you can use the data pills and set the value directly without using any script
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:26 AM
I have tried to use the data pill, but , in that i am getting the backend value like Instead of "production" , i am getting "sh_production". In Cmdb resource group table in environment field one new chioce "sh_production" added .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:45 AM
Hi,
that is what I mentioned; choice values should be same in both
Then using data pill it would work directly and no script is required
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:48 AM
one new choice is created as sh_production and that value dispalyed. I want only Production as it already there.
Choice values are different and choice name only same