In an action, i've got a script that connects to a https end point and pull some data to populate into an input field.
so i'm trying to read configuration elements and get this error
Error in (Dynamic Script Module name : GetListOfGroups#1) TypeError: Cannot find function getAttributeWithKey in object function ConfigurationElement() {
[native code, arity=0]
Here's my code in the action
System.log("starting") var username = ConfigurationElement.getAttributeWithKey("wfconf.username").value var password = ConfigurationElement.getAttributeWithKey("wfconf.password").value var vendorkey = ConfigurationElement.getAttributeWithKey("wfconf.vendorkey").value
Trying to figure out where i could be going wrong here.