Refresh Variable not refreshing expression rule Data

Hi 

I am trying to refresh my Data stored in the expression. There is link which stores true, false in local!refreshBool and I want to refresh the data based on that. This expression rule pulls data from Integration.

But the Data is not getting refreshed. When I TEST interface the data is refreshed but not when I click on link

 

local!data: rule!TA_getAndFormatRandomUser(),
  
  local!refreshBool,
  local!refreshData: a!refreshVariable(
    value: local!data,
    refreshOnReferencedVarChange:  local!refreshBool
  ),

  Discussion posts and replies are publicly visible