Navigation using LINK FIELD and WITH not working

I have a Document Link -->

I have a column layout with image field and document image and a dynamic link with a label and a value saved into action_txt local variable as below.

 a!columnLayout(
                a!imageField(
                  images: {
                    a!documentImage(
                      document: cons!POC_IMG,
                      link: a!dynamicLink(
                        label: "CLICK_HERE",
                        value: "CLICK_HERE",
                        saveInto: {
                          local!action_txt
                        }
                      )
                    ),
                        
                  },
                  size: local!imageSize
                )

I then call a WITH function which has an IF statement in it wherein if the value of the variable action_txt is CLICK_HERE, it should call another rule which is a report with a grid layout. But the below does not seem to work for some reason. The  ON CLICK does not invoke the report. Any idea why?

with(
      local!masterDatasubset:if(local!action_txt="CLICK_HERE",rule!POC_PrintReport(),{}),
 

  Discussion posts and replies are publicly visible