Avatar

Employee Advisor

Hi @dipendu_g 

Have you tried the following:

var delivery = nsm.delivery.load(vars.deliveryId);

Please be aware that using load function is memory intensive and NEVER EVER use it in a loop that you don't control the number of records in the loop, you will end up getting out of memory and will require a service restart, 

Thanks

Denis