How to fetch different choice value in a property of choice_list type using 'getProperty' method ?

ideamax
Mega Expert

Does anyone have any idea of how to fetch different choices in a property of type 'choice_list'? For example : the property 'glide.approval_engine.sc_request' has three key value choices (Approval Rules=NULL,Process Guides=process_guide,Turn engines off=off) and the default value is off. So, if I run the statement on background script : gs.getProperty("glide.approval_engine.sc_request"), I get the value 'off'. Now. if I want to fetch the other choice values using gs.getProperty() method, what should be the signature for that method ?

1 REPLY 1

Mark Stanger
Giga Sage

There's no method for that as far as I'm aware. You could run a standard GlideRecord query against the sys_properties table to get the values though.