Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Explain when to use getValue() vs toString()

angiejones
Tera Contributor

I just watched the NOWCommunity Live Stream - 2018-06-22 and heard Chuck Tomasi say it is better to use getValue() instead of toString() in certain cases. I'm still confused as to the benefits/pitfalls of using those. Can someone explain what is the best practice for using either one of those methods?

Thanks!

1 REPLY 1

Shashikant Yada
Tera Guru

The below link help you:

https://community.servicenow.com/community?id=community_question&sys_id=a01117e9dbdcdbc01dcaf3231f9619af

Thanks

Shashikant