How to add text to pdf with a transformation?

Hi, I found in sandbox mode how to get the last workflow comment…
but how to display it in the pdf file ??