Is there a way to invalidate script parameter cache other than login/logout?
d
dcrsmith
09/18/2020, 5:24 PM
Script parameter cache? Not sure what that is. Are you using the N/cache module or referencing the script object's deployment parameters?
c
Chris
09/18/2020, 5:56 PM
When a user logs in, script parameters of type Company are cached by NS. If these values are changed by another user then all other users continue to use cached params.
b
battk
09/18/2020, 9:52 PM
use N/config instead
👍 1
d
dcrsmith
09/18/2020, 9:53 PM
^^^ Yes, use N/config and load the companyinformation record to get the value.