How to pass a boolean value in UI page

kartikey
Tera Contributor

Hi Everyone,

i'm trying to pass a boolean value to my UI page and using it in an if else condition, but it does not seem to work:

kartikey_0-1721032951330.png


In the client script isgrpHRIT is giving right true false value, But against the UI page it's not giving any Value:

kartikey_1-1721033104542.png

 


earlier this UI action was giving popup with choices from choiceList, but after this if condition it's not giving any choices i.e. not going inside the if loop even when client script alert is throwing 'TRUE'

Can anyone help me with this?

Thanks,
Kartikey

1 REPLY 1

Amit Verma
Kilo Patron
Kilo Patron

Hi @kartikey 

 

Below posts could be helpful :

https://www.servicenow.com/community/developer-forum/popup-window/m-p/1919432

https://www.servicenow.com/community/now-platform-forum/what-does-rp-getwindowproperties-get-text-do...

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.