What is a variable_pool and how is it used?

Mira3
Kilo Contributor

Hello, 

what is a variable_pool and how is it used in workflow activities? 

 

Thanks for the help!

1 ACCEPTED SOLUTION

Nitin_NOW
Tera Guru

it is an object where you can access the field values of RITM and can be used in workflow activities (Advanced Script)

for example if there is a field on the RITM page - 'Please select size of Hard disk' and the value entered/selected is '250GB'.

If you wanted to access this field value in the workflow script, below is the way you get it via variable_pool

current.variable_pool.size_harddisk //size_harddisk is the variable name of 'Please select size of Hard disk'.

Please hit correct based on response.

Thanks

View solution in original post

6 REPLIES 6

What can we use for getting variable set variables through scripted REST API's

 

Allen Andreas
Administrator
Administrator

Is there perhaps a list of questions you're going through today? This is about the 5th or so in regard to teaching you ServiceNow and certifications and such. So I'm curious if you have others or is there a better way to educate you on ServiceNow than a slow steady stream of questions all day.

Let us know so we can help in a better possible way.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!