How to get sys_id of question choice in record producer script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 10:48 AM
Hi,
Can you please better explain the problem statement.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:13 AM
Hi @Saurabh Gupta ,
In the record producer, I have two variables as shown in the image.
The values of these two variables are mapped to an INC ticket through the following script.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:19 AM
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.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 11:26 AM
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.