How to set conditional logic based on whether a file has been uploaded

Resolved

I have a widget that uploads a picture to local widget state. What I would like to do is have conditional elements such as a delete button, but only if the widget state says the image has been uploaded. The issue I am having is that if I try to set the boolean condition based on widget state, I can find the "uploaded local file" under the widget state in the conditional flow menu, but when I try to use it to set a condition, I get an error "Current variable not valid".

How can I use the widget state as a valid boolean in a condition?

1
8 replies