How to set up Take Survey widget from Standard Ticket?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-18-2022 11:13 AM
How could I add a Feedback tab to the Standard Ticket, showing a survey of my choice?
I tried navigating to Standard Ticket > Standard Ticket Configuration, choosing sc_req_item as the table.
Then added a new tab as follows:
However I do not know what widget parameters I should add to the form.
In my understanding they should be (based on ashley(sn)š
sysparm_trigger_table = the table the record (sc_req_item)
sysparm_trigger_id = the sys_id of the record (current.sys_id - can I use current here?)
But, this doesn“t work, can anyone help?
[EDIT]
So you also need to provide the Survey type as a widget parameter:
If I type the sys_id manually it does work:
However, current.sys_id doesn't work. How could I provide options.sys_id or $sp.getParameter('sysparm_trigger_id') to the widget?
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-18-2022 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-19-2022 02:48 AM
I edited the question, do you know a way to dynamically populate a widget's options?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-16-2023 01:37 PM
We are in the same situation with `current.sys_id`. Did you ever find a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-16-2023 01:57 PM
We figured it out. Use `{table.sys_id}`