I am using Alfresco Process Services Trial Version 1.11 and modeled a Generate Document Task. I have a form with a checkbox and depending on whether it is checked or not checked a specific sentence should be printed in the generated document. I followed the syntax as in this link: https://docs.alfresco.com/process-services/latest/develop/dev-ext/#document-templates
In particular this:
<<if [senstitiveflag=="true"]>>it is Confidential, <<else>> Not Confidential \<</if>>
In my case it prints always the <<else>> phrase, no matter if the checkbox is checked or not and no matter if I type “true” or “false”. As I assume that “true” is a value and not the Boolean expression, I also tried it with <<[variableid==”Checked”]>> and <<[variableid==”Unchecked”]>> and in my german version (my user interface is in german) with <<[variableid==”Markiert”]>> and <<[variableid==”Nicht markiert”]>>. I thought, that maybe the value of the checkbox might be one of the words, but still it always jumps into the <<else>> case.
Can anybody help me and knows what I am doing wrong?