Pass a variable as condition in If activity, where variable contains complete condition as a string

this might get you started…