How to get sys_id of question choice in record producer script

tuitendung
Tera Contributor

 

Morning!
I hope you can help me. As you can see, I want to get sys_id of 2 variable's choice in record producer. Any solutions ? Thanks for your helps

 
6 REPLIES 6

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
Can you please better explain the problem statement.

 

 


Thanks and Regards,

Saurabh Gupta

Hi @Saurabh Gupta  ,
In the record producer, I have two variables as shown in the image.

tuitendung_0-1702926707870.png

The values of these two variables are mapped to an INC ticket through the following script.

tuitendung_1-1702926773690.png

This results in the values of the corresponding fields in the INC ticket being displayed according to the language of the user creating the ticket through the record producer. I only want it to be displayed in English. My current solution is to obtain the sys_id of the question_choice selected by the user and then use Glide Record on the "question_choice" table to retrieve the corresponding "Text" value of the record. However, I am unsure of how to obtain its sys_id. Do you have any suggestions to help me? Thank you for your helps.

 

Hi,
u_itcontactform_issue is a choice?
You can create a different choice with the same value but a different label as per the language. This is OOTB. You can utilize this.

SaurabhGupta_0-1702927137438.png

 






Thanks and Regards,

Saurabh Gupta

Hi @Saurabh Gupta  ,
Thanks you for your help but I don't think create new value is a good way. Because I have alot of values and langs.