Hide-block-if in docx template (classic) from power automate flow

'bout to lose my mind. Can someone help me look at this:

my doc:


(the orange block was originally :hide-block-if(value != "Not assessible") but while i was trying to make it work I just left it as == "Yes" to see if it would show up at all)
json input:
image

output:

Its tables inside tables, but it works fine in the first line, not sure why it doesn't work in the second line.

Hi @syoung,

The classic templating enigne doesn't work well when the same token is used with the hide-block-if formatter in several places in the template.

I'd recommend you try the modern templating engine hide-if formatter and check if it works for you.

This is my example:

  1. Create a process and make sure to switch to the modern engine in the settings.

  1. The DOCX template:

  1. Results with the JSON:
{
	"value": 2
}

{
	"value": 3
}

{
	"value": 1
}

Best regards,
Petr
Plumsail team

Thanks for the response, I'll try out the modern version through processes, I can see they can be passed the json from power automate still, I didn't realise that was the case.

Relatedly, but maybe a different topic:
Does the Contains() operator still work in the modern version? It would be worth having a list of usable operators somewhere in the documentation, or make it more obvious if it already exists and I just can't see it.