How to access RITM/TASK variable values in Client Side script of UI Actions ?

ankita1506
Tera Contributor

Hi Everyone, 

 

I want to check the ritm variable values in the client code of UI Action custom button created on catalog task form. I tried accessing variable values using "current.variables.variable_name==" and even through "current.request_item.variables.variable_name" but neither of these are working. Please suggest a way in which I can check if the variables are empty or not in the client function for UI Action. 

1 ACCEPTED SOLUTION

Hello @ankita1506 ,

You can use the script include and call that script include through the Glide Ajax in the client side UI action. That will help.

 

Please mark my answer as accepted solution and give thumbs up, if it helps you.

View solution in original post

5 REPLIES 5

You may use a g_scratchpad variable for achieving this. Use a display business rule to initialize the g_scratchpad variable and then use it in your UI action code.