I want to initialize a variable in OnStart from a value stored in an Excel Table. It's not working for me.
I have a table called Constants. One row is as follows:
Name = "Inbound Threshold"
Measure = "Business days" (for documentation only)
LookupValue = 2
I'm trying to add the following OnStart Code:
set (InboundThreshold, Lookup(Constants, Name="Inbound Threshold", LookupValue)
I'm expecting it to create a variable called InboundThreshold with a value of 2.
What is wrong? It's not loading anything. It does recognize the table column names, so I know I've connected successfully to the table.