<?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 Re: How to write if condition in expression? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31270#M13252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The standard expression language used in Activiti is JUEL (&lt;A class="link-titled" href="http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html" title="http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html" rel="nofollow noopener noreferrer"&gt;Unified Expression Language - The Java EE 5 Tutorial&lt;/A&gt;&amp;nbsp;).&lt;BR /&gt;As far as I know, JUEL supports ternary (conditional) operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;${failed ? 1 : 2}&lt;/P&gt;&lt;P&gt;If process variable failed == true the expressions returns 1, otherwise 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Mar 2017 21:22:40 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-03-17T21:22:40Z</dc:date>
    <item>
      <title>How to write if condition in expression?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31268#M13250</link>
      <description>Hi Everyone,How can i write an if condition using expressions? I actually want to show some variable values in the documentation of the user task if a boolean is true.Please advice.Thank you</description>
      <pubDate>Thu, 16 Mar 2017 17:02:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31268#M13250</guid>
      <dc:creator>asheerabbas</dc:creator>
      <dc:date>2017-03-16T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition in expression?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31269#M13251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Asheer,&lt;BR /&gt;&lt;BR /&gt;Could you expand on your use case a bit? What are you trying to achieve?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-JEarles&lt;BR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:28:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31269#M13251</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-03-16T18:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition in expression?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31270#M13252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The standard expression language used in Activiti is JUEL (&lt;A class="link-titled" href="http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html" title="http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html" rel="nofollow noopener noreferrer"&gt;Unified Expression Language - The Java EE 5 Tutorial&lt;/A&gt;&amp;nbsp;).&lt;BR /&gt;As far as I know, JUEL supports ternary (conditional) operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&amp;nbsp;${failed ? 1 : 2}&lt;/P&gt;&lt;P&gt;If process variable failed == true the expressions returns 1, otherwise 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 21:22:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-write-if-condition-in-expression/m-p/31270#M13252</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-17T21:22:40Z</dc:date>
    </item>
  </channel>
</rss>

