- 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 04:57 AM
Hi,
Can you please explain with example what is required?
need to get value from this variable and show in table's choice field?
The environment choice field will already have some choices in it right
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 05:52 AM
i need to get value from catalog variables. after that one record need to be inserted in cmdb resource group table with the values in request.
I have environment variable in both catalog item and cmdb resource group table.
How can i show the environment value from catalog item to resource group table.
i need to show the environment variable value which requester submits.
The environment choice field will already have some choices in it right:YES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 06:10 AM
Hi,
so you want to set the environment field with the environment variable during insertion
I hope both the variable and field have same choice values
So where are you stuck?
How are you inserting data into that table from flow?
you can use Get Catalog Variables Action and get the variables
Then during the insert; you can use the Data pill and select the variable from the Get Catalog Variables Action
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:14 AM