- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 08:36 AM
Hi!!
I am facing issue on how to map the values from a list collector field in a record producer to a choice field on a custom table.
I have a list collector field which contains some state values and the custom table contains those state values as choice fields with choices 'Yes , No'.
I have to map the state values selected in the list collector field to the choice fields with values as 'No'. i.e, if there are two choices selected in list collector(Alaska , Alabama) , I should update the choice fields Alaska , Alabama with 'No' as choice value.
And I should also map the states from Available slushbucket to the choice fields with value as 'Yes' on the custom table.
1.
2.
From the screenshot 1, we should map the choice fields 'Alabama & Alaska' to 'No' and the values 'Colorado,New York,Indiana,Florida,Hawaii,Michigan,Montana' to 'Yes' on their respective choice fields referenced on screenshot 2.
Note: From the screenshot 1, display users field contains the all the values from left slushbucket.
Please do follow the link - Re: Copy List collector values to a multi line tex... - Page 2 - ServiceNow Community for more context.
Please do help me with the solution.
Thanks in advance!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:32 AM
Thanks for your reply!!
I used this approach to achieve my requirement-
Called the script include function in record producer script-
Record producer script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:31 AM
@Akash Gupta2 @Ankur Bawiskar @Sohithanjan G
Anybody Can you please help me this code. I am unable to solve this requirement.
Please do help me
Thanks in Advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:36 AM
should be an easy task using workflow script.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 07:40 AM - edited 02-22-2024 07:41 AM
Can you please provide with the code.
Can you also please suggest another way other than workflow script.
Can you please assist with code if this can be done through BR.
Thanks in Advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 01:32 AM
Thanks for your reply!!
I used this approach to achieve my requirement-
Called the script include function in record producer script-
Record producer script -