- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 11:41 PM - edited 02-18-2025 01:58 AM
I have a requirement to set the dropdown field value on the case based on the variable value select on the form via flow designer
Variable on the form is of multiplechoice type:
eg: if user selects 1st option from the form the field value on the case will be set as allowed. Office type field is a choice type field. If the user selects 2nd option then office type field value will be set as review pending.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:50 AM
you can use inline f(x) script and use if else and determine the value
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
02-18-2025 12:48 AM - edited 02-18-2025 01:59 AM
@Ankur Bawiskar Hi Ankur, I am not sure how to start. So we are creating a record when the record producer is submitted and for the accomodation type we have multiple options and based on the user selection on the form the accomodation type should be set. I cannot directly set any 1 value while creating record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 12:50 AM
you can use inline f(x) script and use if else and determine the value
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
02-18-2025 12:57 AM - edited 02-18-2025 12:59 AM
@Ankur Bawiskar Could you please provide some sample script I can refer to access form variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 01:03 AM
Check this for inline scripting in flow designer.
How To Script In Flow Designer | Snowycode
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 01:27 AM
unless you start you won't learn
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