
Conditional inside the docx file:

Such formula works, but only after manual recalculation of it in the opened document (hitting F9). Othervise it stays in the same state as was in template, disregard the value in "if".
How could such recalculation be acheived automatically if the document is converted to PDF in same flow (which does not trigger recalculation too)?