<?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: Error in getValue from Expression in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97946#M67474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solve this with a workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before endEvent, run a scriptTask to check if processVar is setted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask id="anything" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;try { personName; } catch (MissingPropertyException mpe) { personName = ""; }&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if activiti will fix this in nexts releases, but, it works for now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Feb 2012 15:38:05 GMT</pubDate>
    <dc:creator>nandoztx</dc:creator>
    <dc:date>2012-02-29T15:38:05Z</dc:date>
    <item>
      <title>Error in getValue from Expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97945#M67473</link>
      <description>Hi everyone!I have a problem in getValue from Expression attrib in JavaDeletegate implemented class.When Expression attrib don't has value, so, attrib.getValue(execution) throw an exception like as: org.activiti.engine.ActivitiException: Unknown property used in expression.‍My example:in service&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ri</description>
      <pubDate>Thu, 09 Feb 2012 14:53:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97945#M67473</guid>
      <dc:creator>nandoztx</dc:creator>
      <dc:date>2012-02-09T14:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in getValue from Expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97946#M67474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solve this with a workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before endEvent, run a scriptTask to check if processVar is setted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask id="anything" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;try { personName; } catch (MissingPropertyException mpe) { personName = ""; }&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if activiti will fix this in nexts releases, but, it works for now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 15:38:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97946#M67474</guid>
      <dc:creator>nandoztx</dc:creator>
      <dc:date>2012-02-29T15:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in getValue from Expression</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97947#M67475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti cannot fix it afaik. It is a EL issue. A none existing process variable is used, EL give you an exception. Try setting it to 'null' or '' instead of not having it at all. Catching the error in Activiti is impossible since there can be no differentiation between a not existing property and e.g. a typo (and thus a non-existing property)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 16:58:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-getvalue-from-expression/m-p/97947#M67475</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-02-29T16:58:04Z</dc:date>
    </item>
  </channel>
</rss>

