<?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 My Gateway can not interpret variables set earlier in a script Task !!  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/my-gateway-can-not-interpret-variables-set-earlier-in-a-script/m-p/212277#M165407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello !! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think im confused a bit, should a sequence flow condition expression be readily able to read a variable set in a script task earlier in the workflow? Do I need to reference this somehow or are all the variables set within different sections of the workflow sharing the same namespace? And if so would the following conditional statement within the sequence flow be enough to progress onto the next task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My error was : org.activiti.engine.ActivitiException: Unknown property used in e expression: ${Validate == 1}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Knowing That i used the variable "Validate" as an integer variable in an earlier ScriptTask . Someone can help me to resolve it ??Any example would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LobnaKh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 10:51:55 GMT</pubDate>
    <dc:creator>lobnakh</dc:creator>
    <dc:date>2016-06-30T10:51:55Z</dc:date>
    <item>
      <title>My Gateway can not interpret variables set earlier in a script Task !!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/my-gateway-can-not-interpret-variables-set-earlier-in-a-script/m-p/212277#M165407</link>
      <description>Hello !! I think im confused a bit, should a sequence flow condition expression be readily able to read a variable set in a script task earlier in the workflow? Do I need to reference this somehow or are all the variables set within different sections of the workflow sharing the same namespace? And</description>
      <pubDate>Thu, 30 Jun 2016 10:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/my-gateway-can-not-interpret-variables-set-earlier-in-a-script/m-p/212277#M165407</guid>
      <dc:creator>lobnakh</dc:creator>
      <dc:date>2016-06-30T10:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: My Gateway can not interpret variables set earlier in a script Task !!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/my-gateway-can-not-interpret-variables-set-earlier-in-a-script/m-p/212278#M165408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I resolved the problem by adding this line :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable("MyVar",Validate);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, a new problem appears &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; : when i start the process, my scriptTask as the first task in my process can not be seen as a Task .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this line of command :&amp;nbsp; Task task1 = taskService.createTaskQuery().singleResult(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Task1=null which causes a nul pointerException after .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What should i do in this case ???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:24:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/my-gateway-can-not-interpret-variables-set-earlier-in-a-script/m-p/212278#M165408</guid>
      <dc:creator>lobnakh</dc:creator>
      <dc:date>2016-06-30T13:24:44Z</dc:date>
    </item>
  </channel>
</rss>

