Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Get variable value in UI Action

giuseppem
Kilo Sage

Hi All

In my scenario I have a sc_tasks related to a RITM. Variables are displayed on task form and user can change value in one variable. I need to get value typed by user in a "UI Action". It's this possibile? 

I try something like "variable_pool.<variable name>" but doesn't work and also I can't use document.getElementById(element_name)  because the name change for different tasks

Regards

Giuseppe M

1 ACCEPTED SOLUTION

Harish KM
Kilo Patron

is this UI action client callable or server script?

client side you can get value like g_form.getValue('variables.variablename");

Server side : current.variables.variablename;

Regards
Harish

View solution in original post

1 REPLY 1

Harish KM
Kilo Patron

is this UI action client callable or server script?

client side you can get value like g_form.getValue('variables.variablename");

Server side : current.variables.variablename;

Regards
Harish