I have a variable, called Variable1 that is a lookup select box, pulling from a table. The table contains entries with values of A, B, and C.
In my workflow, I have an If statement returning a Yes or No. I would like the If statement to result in Yes, if the client script's select box variable selects "A" or "B" as it's value. If "C" is chosen, it would result in a No.
I tried using the following script for the If in the workflow, but am getting GetDisplayValue not defined as an error:
answer = isSmart();
function isSmart(){
var check= getDisplayValue(Variable1);