External URL: Structuring the IF/Then for both ST and Ext URL as Trigger

triggers

#1

1) Give a description of the problem
I have Pistons that I fire from ST using an IF/THEN. I need to fire these Pistons with an external URL as well. How do I structure the IF so that it also recognizes the ST trigger AND the URL event?

2) What is the expected behaviour?
To fire a Piston via ST (switch, event, etc) OR via external WebCore URL.

3) What is happening/not happening?
The IF/THEN ignores the URL-based execution.

4) Post a Green Snapshot of the pistonimage
Any of them.

5) Attach logs after turning logging level to Full
N/A


#2

When I want to use the External URL, I typically make sure there are no triggers in that piston. It makes it much easier to program.

Essentially, the External URL does the same thing as pressing the Test button.
(and as we know, that button only works on certain structured pistons)


In other words, I would make one piston with no triggers, and use the External URL for that…

… and create a second piston, using a normal IF trigger.


A much more complex method, is to only use Conditions (no triggers).
This way, it will execute on condition change, as well as pressing the Test button.

… but if you want freedom to code how you want, my recommendation is to use two pistons.