I'm trying the ScriptActions in the documentation.
In that case I was trying the one Example to load all customer data for given email address:
Code: Select all
$Customer.loadCustDBStructure()
$Customer.resetCustParameters()
$Customer.setCustomerID(0)
#set($custId=$Customer.findByKeyColumn("username", "myUsername"))
#set($requestParameters = $ScriptHelper.newHashMap().putAll($Customer.getCustomerDataFromDb()))
java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null
In fact, without the last code row, it works fine and the CustomerId obtained is the correct one.
Where I'm wrong?
Thanks you!