Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to set the variables used in 'Ticket Fields' widget, the options which are populated by this function $sp.getvariablesarray()?

georgimavrodiev
Mega Guru

Hello, 


I am trying to display the variables of one record producer into 'Ticket Fields' widget.
I searched for articles or official documentation about $sp.getvariablesarray() function, and from what I understood the variables related to record producer should be displayed automatically in the widget, when I create them in the record producer itself.
For my tests, I used the same widget for Incident table on 'ticket' page in the CSM portal and the options were displayed.
But, in the same portal (CSM), I am not able to display these options into a custom record producer. 
Is there any setting in the variables of the record producer which I need to set in order to display the options or is the above function actually populated from this variables?

find_real_file.png

Regards, 
Georgi

2 REPLIES 2

dhananjay21
Giga Guru

Hi  georgimavrodiev ,

Have you checked the below thread.

 

https://community.servicenow.com/community?id=community_question&sys_id=c39257a1db101fc01dcaf3231f96...

 

 

Please mark helpful ,if found helpful.

 

Regards,

Dhananjay

Hello Dhananjay,



Thank you for replying to my query!


I have to say that the situation I was dealing with has disappeared.
I did not make any changes at all. Just log out & log back in.


Please consider this tread as inactive, as I am not facing problems anymore.


Regards,
Georgi