<?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 Activiti Explorer - Compare decimal values in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-compare-decimal-values/m-p/180945#M134075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my business process i need to compare decimal numbers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if 500,35€ &amp;gt;= 500 then go there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if 1000€ &amp;lt; 500,34 then go there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if 30,5(%) &amp;gt; 90 (%) then go there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if 50(%) &amp;gt; 10,3 (%) then go there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*the € and % are irelevant ofc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What type should i define the input field? Long doesn't work because when i input, for example, 9993,35 i get and error: "Value must be a long", witch make sense. String type does not work aswell because if i input 9993,35 the formula, for example, if 9993,35 &amp;gt;= 500 then go there can't be validated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tiago&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 13:59:27 GMT</pubDate>
    <dc:creator>texano1</dc:creator>
    <dc:date>2014-08-01T13:59:27Z</dc:date>
    <item>
      <title>Activiti Explorer - Compare decimal values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-compare-decimal-values/m-p/180945#M134075</link>
      <description>Hey,In my business process i need to compare decimal numbers.Example:if 500,35€ &amp;gt;= 500 then go thereif 1000€ &amp;lt; 500,34 then go thereif 30,5(%) &amp;gt; 90 (%) then go thereif 50(%) &amp;gt; 10,3 (%) then go there*the € and % are irelevant ofc.What type should i define the input field? Long doesn't work</description>
      <pubDate>Fri, 01 Aug 2014 13:59:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-compare-decimal-values/m-p/180945#M134075</guid>
      <dc:creator>texano1</dc:creator>
      <dc:date>2014-08-01T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Explorer - Compare decimal values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-compare-decimal-values/m-p/180946#M134076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tiago,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process definition snapshot from activiti jUnit tests&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="exclusiveGw" name="Exclusive Gateway" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="exclusiveGw" targetRef="basicService"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[${orders[1].price &amp;lt;= 100}]]&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically you have to create Integer (Long, Double, … ) process variable and compare it in the condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:46:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-compare-decimal-values/m-p/180946#M134076</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-08-04T09:46:35Z</dc:date>
    </item>
  </channel>
</rss>

