
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 02:25 AM
Hi Everybody
I'm trying to reduce the cusomized content in our instance.
So at the moment I try to figure out if the call of Java Glide classes should be with or without the Package reference?
I have a Business Rule using (updated 2013-01-22):
var wfh = Packages.com.glide.db.MultipleUpdate('wf_history');
But the SNow version uses (updated 2012-05-29):
var att = new GlideMultipleUpdate('sys_attachment');
Which should I use? I read in the commnity that starting with Calgary the Package naming shouldn't be used...
But why is the Package call newer?
Thank you very much for your help
Christina
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 02:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 02:44 AM
Hi Christina,
If you were running a version prior to Calgary and have recently upgraded, it may be worth checking the business rule history to see if it had been customised prior to the upgrade. If so, the code will not have been updated, which may explain why you still see the Package call. Bhavesh's suggestion is great as well as it finds all of the package calls and gives you analysis on whether it should be updated or not.
Cheers, Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 07:17 AM
The new best practice is to not use the Package call. They are doing away with using the Package calls with the Package Call removal tool, so going forward avoid the package call if you can and use the new Glide classes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2014 11:22 PM