How to set a system property called "glide.workflow.enable_input_variables" to true.

mdenni
Kilo Expert

Everywhere I search, they suggest that, to use the ReturnValue Core Activity, you need to set glide.workflow.enable_input_variables to true, in order for the returned variable to show up in the scratchpad of the calling workflow.

But it doesn't seem to be as simple as putting the assignment statement

glide.workflow.enable_input_variables = true;

in the calling workflow. That causes a Reference Error: glide is not defined.

Thank you, everyone. I marked both answers as true. In my case, someone else already created the variable and set it to true.

1 ACCEPTED SOLUTION

Ajai S Nair
Giga Guru

Hi Denni,



As everyone suggested already,


You have to open sys_properties.LIST from left Filter navigation and   search with name = glide.workflow.enable_input_variables and change the value true .


find_real_file.png


find_real_file.png


If the property is not found then create a new property.


View solution in original post

4 REPLIES 4

Abhishek Raj3
Tera Guru

Hi Denni,



Create a new system properties with same name and give value as true.


It should work.


In left navigation type sys_properties.LIST and create a new properties with name glide.workflow.enable_input_variables   and give value as true.




Thanks,


Abhishek


vab_13
ServiceNow Employee
ServiceNow Employee

Here is the Docs Link: Add a property



find_real_file.png


find_real_file.png




Vab


asit2
Kilo Expert

Type sys_properties.list on left hand side top of menu bar search field-


find_real_file.png


On list view search in name filed-


find_real_file.png


you will get the property . make value as true.


Ajai S Nair
Giga Guru

Hi Denni,



As everyone suggested already,


You have to open sys_properties.LIST from left Filter navigation and   search with name = glide.workflow.enable_input_variables and change the value true .


find_real_file.png


find_real_file.png


If the property is not found then create a new property.