Switches not allow dynamic value based on his own state - App Connect 2

I think your logic on how switches work is flawed.

See this post for explanation on how to do it correctly