When calling system.db.runNamedQuery I am receiving a “Required parameter “database” not provided.”
The Named Query is set to receive the database parameter and I am passing that parameter as the first argument in the param dictionary. Does it have to be signified differently?
I’ve tried setting the scope to the Client Project as well as leaving scope blank (thinking the default scope is the project. Running Version 8.0.7
params = {“param1”:connectiondb,“param2”:var1,“param3”:var2,“param4”:var3, “param5”:var4}
system.db.runNamedQuery(“NamedQuery”,params)