Reading signal value in works

Hi all,

I am attempting to write a works task that will read the boolean signal value ‘trigger’ on the task and conditionally do something if true or false.

Is this possible?

I understand there is WaitSignal but this won’t continue if the signal isn’t the value that I want. I need it to read the signal value in each iteration to see if the value is true or false.

I see in the documentation there is some kind of function for reading values and they put it in a conditional statement but not sure how to use this to read the Signal