<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Generate Document Task - Template Checkbox value - running always &amp;lt;&amp;lt;else&amp;gt;&amp;gt; case in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19088#M8435</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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:&amp;nbsp;&lt;A href="https://docs.alfresco.com/process-services/latest/develop/dev-ext/#document-templates" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/process-services/latest/develop/dev-ext/#document-templates&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;&amp;lt;if [senstitiveflag=="true"]&amp;gt;&amp;gt;it is Confidential, &amp;lt;&amp;lt;else&amp;gt;&amp;gt; Not Confidential \&amp;lt;&amp;lt;/if&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;In my case it prints always the&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;else&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;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&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Checked”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt; and&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Unchecked”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;and in my german version (my user interface is in german) with&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Markiert”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;and&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Nicht markiert”]&amp;gt;&amp;gt;&lt;/SPAN&gt;. I thought, that maybe the value of the checkbox might be one of the words, but still it always jumps into the&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;else&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;case.&lt;/P&gt;&lt;P&gt;Can anybody help me and knows what I am doing wrong?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Mar 2021 09:56:17 GMT</pubDate>
    <dc:creator>shmalik</dc:creator>
    <dc:date>2021-03-01T09:56:17Z</dc:date>
    <item>
      <title>Generate Document Task - Template Checkbox value - running always &lt;&lt;else&gt;&gt; case</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19088#M8435</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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:&amp;nbsp;&lt;A href="https://docs.alfresco.com/process-services/latest/develop/dev-ext/#document-templates" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/process-services/latest/develop/dev-ext/#document-templates&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;&amp;lt;if [senstitiveflag=="true"]&amp;gt;&amp;gt;it is Confidential, &amp;lt;&amp;lt;else&amp;gt;&amp;gt; Not Confidential \&amp;lt;&amp;lt;/if&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;In my case it prints always the&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;else&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;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&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Checked”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt; and&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Unchecked”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;and in my german version (my user interface is in german) with&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Markiert”]&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;and&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;[variableid==”Nicht markiert”]&amp;gt;&amp;gt;&lt;/SPAN&gt;. I thought, that maybe the value of the checkbox might be one of the words, but still it always jumps into the&amp;nbsp;&lt;SPAN&gt;&amp;lt;&amp;lt;else&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;case.&lt;/P&gt;&lt;P&gt;Can anybody help me and knows what I am doing wrong?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 09:56:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19088#M8435</guid>
      <dc:creator>shmalik</dc:creator>
      <dc:date>2021-03-01T09:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Document Task - Template Checkbox value - running always &lt;&lt;else&gt;&gt; case</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19089#M8436</link>
      <description>&lt;P&gt;&amp;lt;&amp;lt;if [senstitiveflag==true]&amp;gt;&amp;gt;it is Confidential, &amp;lt;&amp;lt;else&amp;gt;&amp;gt; Not Confidential &amp;lt;&amp;lt;/if&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 08:58:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19089#M8436</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-03-02T08:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Document Task - Template Checkbox value - running always &lt;&lt;else&gt;&gt; case</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19090#M8437</link>
      <description>&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;thank you for the quick reply! That was the solution.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;shmalik&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 17:09:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/generate-document-task-template-checkbox-value-running-always-lt/m-p/19090#M8437</guid>
      <dc:creator>shmalik</dc:creator>
      <dc:date>2021-03-02T17:09:49Z</dc:date>
    </item>
  </channel>
</rss>

