Using a prompt for user to select values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2024 02:03 PM
I have created a sub flow where I have mapped various values to fields via input data. The sub flow is creating an incident task from an incident.
Using the code snippet from the sub flow, I created a UI Action on Incident that collects the data I want and creates the incident task with no issue.
However, my current mapping on the incident task's assignment group is using the sys id of the incident's assignment group for this particular exercise. The short description is also being pulled from the current.short_description value just fine.
Meanwhile, we would not like to prompt the user to supply both an assignment group and a short description.
Is it possible to prompt the user to select an assignment group and provide a short description? I'm new to this and it appears that prompt is not supported in the way I'm using the code snippet in the UI Action.
Should I approach this a different way?
Summary: I have a link UI Action that creates an Incident Task from an Incident. I would like to prompt the user to select an Assignment Group as well as enter a short description for the new task.
Thank you!
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 05:09 AM
I also wanted to add that I may have phrased my question wrong by using the term prompt. I mean to have a dialog box or form open up where the user would input the requested values, such as a field to look up an assignment group and a field to enter the short description. The behavior would be something like clicking on the link or button and a dialog box would pop up for the two fields I'm asking them to fill out.
Thank you!
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2024 07:54 AM
I also wanted to state that being new and finding all the cool tools available, I found another way to configure what I'm looking for using the GlideModalForm and hoping to use the addParm to populate fields on the modal form that is popping up for me. I was able to use the setPreference to use a query to load in the sys ID of the parent record into the modal form, which will be a child record, e.g. Parent = Incident and Child = Incident Task. The modal form of Incident Task opens just fine and I can load in the sys ID of the Incident correctly - but I cannot seem to populate any other fields. I suspect that my post is a bit all over the place and not clear enough to get a real response; so I'm going to try to go the route of a UI Action that runs the script with GlideModalForm to see if I can get it to work.