alien4u
10/16/2019, 5:49 AMruntime.getCurrentUser().getPreference({name: 'parameter_id'});
for Company level parameters.stalbert
10/16/2019, 2:46 PMalien4u
10/17/2019, 4:27 AMruntime.getCurrentScript().getPreference()
failed to me many times when the script parameter has no value and the value is only set at the company level.stalbert
10/17/2019, 3:17 PMalien4u
10/17/2019, 3:50 PMgetCurrentScript()
failing is kind of logical and if you open your mind User Preferences = getCurrentUser()
and apparently the same applies for General Preference.stalbert
10/17/2019, 3:57 PMDiego Modesto
10/17/2019, 3:59 PMconst myVar = config.load({ <code here> }) || {}
and see if this object until empty. This works to me when use MapReduce with or not params.Diego Modesto
10/17/2019, 4:00 PM