Can Office Script read the contents of the script as it's being populated, and make decisions based on that?
In other words, I know it's reading the dynamic content coming from Power BI and inserting the contents in the correct boxes, but can it read what's in the boxes?
I need the script to run one set of dynamic content if the property is an apartment, condo, mobile home, senior home, student housing, or townhouse. If it's any other kind of property, I need it to run the commercial script.
At the beginning of my flow, I have defined a variable for Property Type:
"PROPERTY_TYPE: string"
So now do I declare my 6 types of multifamilies as variables? I've declared them, but when I go to write my if statement, it's underlining them in red.