Page 1 of 1
Expression - AND connection - (UND Verbindung)
Posted: 31 Aug 2019 21:16
by S.M.T
Hello,
i need help.
This will certainly be a simple code, but unfortunately I can not continue.
(Das wird bestimmt ein simpler code, aber leider komme ich nicht weiter.)
Code: Select all
true = condition == "false" AND condition == "false"
I thank you already now.
Greeting Sebastian
Re: Expression - AND connection - (UND Verbindung)
Posted: 31 Aug 2019 22:52
by Rafi4
Hi
I can't understand much. Upload total flow.
From record4
Re: Expression - AND connection - (UND Verbindung)
Posted: 01 Sep 2019 09:09
by S.M.T
Hi,
I'll try to explain it again. Two times condition type location false should pass the command true and open an app.
(Ich werde versuchen, es noch einmal zu erklären. Sollte die Bedingung 2x nein sein und eine App mit ja öffnen.)
Code: Select all
If Standort A is false AND the Standort B is false then ist true , to open App
If Standort A is true AND the Standort B is false then ist false , not open App
If Standort A is false AND the Standort B is true then ist false , not open App
Standort = location
Greeting Sebastian
Re: Expression - AND connection - (UND Verbindung)
Posted: 01 Sep 2019 13:50
by Desmanto
It can be done using condition execution count. You can't connect both to condition to the expression in this logic. Because if both are false, then both will execute that expression, so it will be executed twice. It can cause havoc or logical flaw if the element after it all got executed twice. (Launch app should be safe, but others might not).
Replace the condition expression with condition execution count, set to 2 and timed 100 ms. So if both evaluated to false, this execution will be executed twice in a very short time, ending up in true. Then continue to launch app.
If any of the other is true, then the execution count only executed once. Since it timeout after 100 ms (very short time), the counter is resetted again at next execution. Execution count used in this way, act as a buffer to collect multiple condition checking. You can add more condition before it, and simply increase the count for the total number of the check. So if you check for 5 location, use count 5.
Re: Expression - AND connection - (UND Verbindung)
Posted: 01 Sep 2019 15:07
by S.M.T
Desmanto wrote: ↑01 Sep 2019 13:50
Replace the condition expression with condition execution count, set to 2 and timed 100 ms.
That's a very easy solution. This works wonderfully. Thank you Desmanto.