<?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 check if a variable is null or not, on sequence flows in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/check-if-a-variable-is-null-or-not-on-sequence-flows/m-p/162274#M116164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On a sequenceFlow, I want to check a condition which may include a variable that may not be defined yet in process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so if it's not defined, I dont want to get ActivitiException of "the variable is not defined", but want the flow to proceed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote my condition like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${ A == null || A.a &amp;gt;= B.b }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then when A is null (not defined yet) I cant proceed &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what should I do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 08:06:27 GMT</pubDate>
    <dc:creator>viravira</dc:creator>
    <dc:date>2013-08-19T08:06:27Z</dc:date>
    <item>
      <title>check if a variable is null or not, on sequence flows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-if-a-variable-is-null-or-not-on-sequence-flows/m-p/162274#M116164</link>
      <description>On a sequenceFlow, I want to check a condition which may include a variable that may not be defined yet in process instance.so if it's not defined, I dont want to get ActivitiException of "the variable is not defined", but want the flow to proceed.I wrote my condition like this:${ A == null || A.a &amp;amp;</description>
      <pubDate>Mon, 19 Aug 2013 08:06:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-if-a-variable-is-null-or-not-on-sequence-flows/m-p/162274#M116164</guid>
      <dc:creator>viravira</dc:creator>
      <dc:date>2013-08-19T08:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: check if a variable is null or not, on sequence flows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-if-a-variable-is-null-or-not-on-sequence-flows/m-p/162275#M116165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's not possible. You would need to add some Java logic beforehand to check if the variable is defined and set the outcome in the process context so the sequence flow can evaluate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 07:18:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-if-a-variable-is-null-or-not-on-sequence-flows/m-p/162275#M116165</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-21T07:18:09Z</dc:date>
    </item>
  </channel>
</rss>

