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 get RITM variable in script include

keval3
Tera Contributor

Hi All,

 

Please let me know how to get RITM variable in script include.

keval3_1-1735732093218.png

 

my requirement is base on above variable (HR Subcategory) resolution notes should be auto populated. 

kindly let me know how to do it.

 

Thanks & Regards

KP

5 REPLIES 5

Hi @keval3 ,

Yes, as other community members answered, the syntax returns the backend value of the HR Subcategory.

You can also check the behaviour in scripts - background.
GlideRecord the table, and query with the record sys_id.
and, 
if(gr.next()){
 gs.info(gr.variable.variable_name);
}


If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.