Please find my attached photos describing my formula problem, any guidance would be much appreciated as I have spent a significant amount of time trying to figure it out and i am sure its something small I am just not seeing.
Solved! Go to Solution.
Ok so those screenshots confirm what I said before:
You are missing } to indicate that your update/record to Patch has ended
(which is why it still says that you are within the update section)
Then you will need two further brackets ) ) to end the Patch( and then the If( surrounding it.
I created a simplified test case to show this - note the spacing so that you can easily see where you are within the code:
It's also worth noting here that I used your example of Condition.Value=true, but you don't have to do this with boolean items such as toggles as it will evaluate it when called directly, so you could just have for example:
If(AirFilterToggle && BatteryToggle
and for false values:
If(!AirFilterToggle && !BatteryToggle
So anyway, the Test App looks like this (I have attached it as an .msapp):
Now If I remove the } ) ) I mentioned before it still thinks we are within the Update section:
Could you paste the entire IsBlank&Patch section as text - it looks like you're just missing a ) or two somewhere but I can't see past the last line in your screenshot and it's going to be after OperatingControls: First
Ok brilliant thanks,
Looks like these are missing:
Could you amend the last part to be:
("True") , ("False")) } ))
And then let me know if that still has errors?
There's also an error in your FireExtinguisherToggle which should be FireExtinguisherToggle.Value
Once you've corrected that, could you let me know what the higlighted errors say?
And that semi-colon is needed to indicate the end of that block before the next If( starts
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.