Question on Only When Statement


#1

1) Give a description of the problem
Looking at some sample code here I see a Piston that had in the first statement a Only When Statement,

image

How do you insert this code in the Piston?

2) What is the expected behavior?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Click on the settings and enable Show restrictions…
This will then let you put in restrictions.
image


#3

Thanks…