How to add a dropdown/selectbox to service portal approval record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2020 12:36 PM
Hello,
I have a request to add a dropdown/selectbox to the service portal approval record page. use case would be when an approver is approving a request, they would also like to have a dropdown that they can pick an option. For example, the approver could select from the dropdown "Go do this work" or "put this in the backlog" and then select Approve. Any ideas on this? or other solutions?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2020 01:30 PM
You can create custom field on approval table with dropdown and show that on portal widget. Also update the script that updates state on portal widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2020 07:23 AM
Thanks for your response. If i created this field on the approval table, do you have any examples of how i could add this into a widget on the service portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2020 09:06 AM
If i put a dropdown on the "approval info" widget, how would i take that value chosen from the dropdown and do something with it? For example, whatever is chosen would get copied as a comment on the RITM, or something like that. Below is a script that would put a dropdown in the widget.
<select type="text" id="mySelect" class="dropdown">
<option value="Do something" selected>None</option>
<option value="No action">Admin</option>
<option value="backlog">User</option>
</select>
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2020 09:06 AM
If i put a dropdown on the "approval info" widget, how would i take that value chosen from the dropdown and do something with it? For example, whatever is chosen would get copied as a comment on the RITM, or something like that. Below is a script that would put a dropdown in the widget.
<select type="text" id="mySelect" class="dropdown">
<option value="Do something" selected>None</option>
<option value="No action">Admin</option>
<option value="backlog">User</option>
</select>
thanks