Flow designer is creating a new choice value instead of using the existing one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 04:42 AM
Hello Community,
I am facing an issue where Flow Designer is creating a new choice value in a Choice Field instead of selecting an existing choice from the predefined list. I have configured the flow to retrieve a value from a previous record, but it seems that the flow is not matching any of the existing choices and is creating a new value in the field. The newly created value is shown in blue. (In the screenshot, the "3" at the bottom). What is the best way that the flow only uses existing choice values and does not create new ones?
I would be very grateful if you could help me.
Regards,
Beyza
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 06:16 AM
Hello Ankur.
When a new record is created, < 10 min field's data should come as a default from the previous record. I have created a flow for this. You can see it in the screenshot, When the system creates a new record, data from the previous record is automatically carried over by default. However, for the < 10 min choice field, instead of using the values from the choice list I created, it carries over the data from the previous record, which does not match the options in my choice list.
Regards,
Beyza
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 06:45 AM
but you are not setting that <10min field in your flow
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2025 07:31 AM
Hello Ankur,
If the value and label are the same, the Flow directly selects the value from the Choice List. However, if they are different, the Flow creates a new choice in blue . In my scenario, the value and label must be different because some calculations rely on the value. How can I solve this problem? The label and value should be different, but the Flow should still select from the existing Choice List without creating a new choice?
Many Thanks and Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 05:39 AM
Hi @beycos ,
issue is that you are setting the value based on label, it work. You have to set it through value. Like below.
for 3 selection you need to write like below.
g_form.setValue('filed_name', '17500');
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------