<?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 Setting a condition inside of an execution listener set.Variable for variable that may not exist in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-condition-inside-of-an-execution-listener-set-variable/m-p/27795#M11931</link>
    <description>&lt;P&gt;The variable QaReviews may or may not exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;An execution listener created with a conditional inside.&lt;/P&gt;&lt;P&gt;{execution.setVariable('QaReviews',QaReviews == null ? null : QaReviews + 1 )}&lt;/P&gt;&lt;P&gt;This condition fails when ran (where QaReviews doesnt exist) with following error: HTTP Status 500 - Request processing failed; nested exception is org.activiti.engine.ActivitiException: Unknown property used in expression: ${execution.setVariable('QaReviews',QaReviews == null ? null : QaReviews + 1 )}&lt;/P&gt;&lt;P&gt;The condition should evalute to true if QaReviews == null.&amp;nbsp; Not sure why fails.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 21:30:14 GMT</pubDate>
    <dc:creator>TomV</dc:creator>
    <dc:date>2021-09-21T21:30:14Z</dc:date>
    <item>
      <title>Setting a condition inside of an execution listener set.Variable for variable that may not exist</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-condition-inside-of-an-execution-listener-set-variable/m-p/27795#M11931</link>
      <description>&lt;P&gt;The variable QaReviews may or may not exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;An execution listener created with a conditional inside.&lt;/P&gt;&lt;P&gt;{execution.setVariable('QaReviews',QaReviews == null ? null : QaReviews + 1 )}&lt;/P&gt;&lt;P&gt;This condition fails when ran (where QaReviews doesnt exist) with following error: HTTP Status 500 - Request processing failed; nested exception is org.activiti.engine.ActivitiException: Unknown property used in expression: ${execution.setVariable('QaReviews',QaReviews == null ? null : QaReviews + 1 )}&lt;/P&gt;&lt;P&gt;The condition should evalute to true if QaReviews == null.&amp;nbsp; Not sure why fails.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 21:30:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-condition-inside-of-an-execution-listener-set-variable/m-p/27795#M11931</guid>
      <dc:creator>TomV</dc:creator>
      <dc:date>2021-09-21T21:30:14Z</dc:date>
    </item>
  </channel>
</rss>

