How to fetch the values and update on another field for the same form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Current State:
In the new form creation, under the Access to Existing Folder option:
Select Volume (multiple choice) currently has only one value.
Select Folder (multiple choice) currently has only two values.
New Requirement:
After task completion—once the folder name and volume name are created in their system—we need to store the values entered by the user in the request (i.e., folder name or volume name (multiline text) [selected under Create New Folder or Create New Volume)].
These stored values should then be fetched dynamically and displayed in the Select Folder and Select Volume fields.
Please guide me to write workflow script. At present, there is no option to store these values in a custom table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
share some screenshots without which we can't help
is this for catalog item?
what did you start with in scripting and where are you stuck?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @AnnamalaiS76596 !
I'm not sure I understand, but this would require some script or flow.
I've never done this, but I think you could try creating a choice record based on the values ​​entered in the "new value" fields.
Steps:
1 - Obtain the value related to "New Field".
2 - Check if the selection option already exists for the specific element and table.
3 - If it does not exist, create the record for the selection option for the specific element and table with the informed value.
I see some potential problems:
#1 - Field length defined for "new values".
#2 - Number of option records that can be created for the same element.
#3 - Possible platform restriction that prevents this action.
Mark helpful if makes sense. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Yes, it is catalog item.
I tried 2 program which not working.
1.
2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
even though I tried on load client script
script include client callable.
