WorkFlow => Positions through variables

I’m trying to send a boolean variable from Workflow to Positions where a button is placed and has a variable to change color.

In the Feedback of the button

  • Condition: WorkFlow status or expression $(self.state.variable_name)
  • When True: Expression
    • used $('variable name) or ‘concat ($(variable_name) == true)’ or if $(self.state.variable name) == true

But the variable is not processed. I’m doing something wrong but I’m on a very tight deadline.

Maybe someone here knows the best way to achieve this.