The CreatorCon Call for Content is officially open! Get started here.

How to set up Take Survey widget from Standard Ticket?

Guilherme Corre
Tera Contributor

How could I add a Feedback tab to the Standard Ticket, showing a survey of my choice?

find_real_file.png

I tried navigating to Standard Ticket > Standard Ticket Configuration, choosing sc_req_item as the table.

Then added a new tab as follows:

find_real_file.png

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:

find_real_file.png 

If I type the sys_id manually it does work:

find_real_file.png

However, current.sys_id doesn't work. How could I provide options.sys_id or $sp.getParameter('sysparm_trigger_id') to the widget?

6 REPLIES 6

Community Alums
Not applicable

I tried using {table.sys_id} but is does't work it always show the first assesment assigned to me. not the assesment triggred for current record.

can you help?

damzelev
Tera Contributor

This is working for me too, but I can submit a new survey on each refresh. Is there a way to check if a survey has been already submitted, and show the "Thank you for submitting..." message instead?