<?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 Complex expressions don't execute in Alfresco activiti web version in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/complex-expressions-don-t-execute-in-alfresco-activiti-web/m-p/17095#M7599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #242729; "&gt;Не работает bpm схема с данным условием на стрелке (flow condition) после выхода из шлюза&amp;nbsp;&lt;/SPAN&gt;Exclusive gateway&lt;/P&gt;&lt;PRE style="background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 12px 8px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit;"&gt;${document.attributes['EPR/DMS/DMBTR'] &amp;lt; 10000000 &amp;amp;&amp;amp; document.attributes['EPR/DMS/DMBTR'] &amp;gt;= 5000000 &amp;amp;&amp;amp; document.attributes['EPR/DMS/CONCERN_FLG'] == true}  || ${document.attributes['EPR/DMS/DMBTR'] &amp;gt;= 10000000}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;При тестировании процесса выводит ошибку:&lt;/P&gt;&lt;PRE style="background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 12px 8px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit;"&gt;Error parsing '${document.attributes['EPR/DMS/DMBTR'] &amp;lt; 10000000 \n&amp;amp;&amp;amp; \n(document.attributes['EPR/DMS/DMBTR'] &amp;gt; 5000000 || document.attributes['EPR/DMS/DMBTR'] = 5000000) \n&amp;amp;&amp;amp; document.attributes['EPR/DMS/CONCERN_FLG'] == true} \n|| ${document.attributes['EPR/DMS/DMBTR'] &amp;gt; 10000000 || document.attributes['EPR/DMS/DMBTR'] =10000000}': lexical error at position 143, encountered invalid character '=', expected expression token&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2019 13:53:31 GMT</pubDate>
    <dc:creator>iriney</dc:creator>
    <dc:date>2019-09-13T13:53:31Z</dc:date>
    <item>
      <title>Complex expressions don't execute in Alfresco activiti web version</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-expressions-don-t-execute-in-alfresco-activiti-web/m-p/17095#M7599</link>
      <description>Не работает bpm схема с данным условием на стрелке (flow condition) после выхода из шлюза&amp;nbsp;Exclusive gateway${document.attributes['EPR/DMS/DMBTR'] &amp;lt; 10000000 &amp;amp;&amp;amp; document.attributes['EPR/DMS/DMBTR'] &amp;gt;= 5000000 &amp;amp;&amp;amp; document.attributes['EPR/DMS/CONCERN_FLG'] == true}  || ${document.</description>
      <pubDate>Fri, 13 Sep 2019 13:53:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-expressions-don-t-execute-in-alfresco-activiti-web/m-p/17095#M7599</guid>
      <dc:creator>iriney</dc:creator>
      <dc:date>2019-09-13T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Complex expressions don't execute in Alfresco activiti web version</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/complex-expressions-don-t-execute-in-alfresco-activiti-web/m-p/17096#M7600</link>
      <description>&lt;P&gt;The error clearly states what is wrong with the expression. You have a = instead of a == in the condition. Now, it looks like your problem might be related to the fact that you are writing the expression in BPMN XML with some kind of tool which does not automatically encode &amp;lt; and &amp;gt; correctly, so they are dropped / lost when the XML is parsed. Try using &amp;amp;gt; and &amp;amp;lt; in XML, or enclose your conditions in CDATA blocks to avoid issues with reserved characters.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:54:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/complex-expressions-don-t-execute-in-alfresco-activiti-web/m-p/17096#M7600</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-09-19T19:54:57Z</dc:date>
    </item>
  </channel>
</rss>

