What is the use of getReference()?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 08:34 AM
What is the use of getReference()?
- 133,187 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2018 05:13 PM
this is one of the best explanations of getReference that I have come across.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2018 10:36 PM
Hey ishankaggarwal
i hope your query is answered,can you please close this thread then only this will be helpful for other community user.
If i have answered to your query, Please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.If you are viewing this from the community inbox you will not see the correct answer button.
If so, please review How to Mark Answers Correct From Inbox View
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2018 09:36 AM
Good to know as well is that ServiceNow doesn't recommend using getRefence any longer. Either use a GlideAjax call or using a display Business rule.
//G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2021 03:28 PM
Why don't they recommend getReference anymore??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2021 01:25 AM
Hello Brandon,
In the above explanations you can find why ServiceNow don't recommend using getReference() method anymore.
And mainly using getReference method without callback function is not recommended at all, but if you have requirements where you have to use getReference(), then use it with callback function.
Hope you find answer to your question using the above explanations.
Regards,
Soumya