<?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: Property Not Defined  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291231#M244361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone can help me?thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 07:23:03 GMT</pubDate>
    <dc:creator>rock_tu</dc:creator>
    <dc:date>2014-01-16T07:23:03Z</dc:date>
    <item>
      <title>Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291230#M244360</link>
      <description>Hi AllI have gone through advanced-workflow-tutorial second edition,Now I starting the Publish WihtePaper to Web(activiti) workflow,but there are some error,anyone can help me please?thenk you!First,When a user edit the task and try to save it,but not success,appear errors as follows:"org.activiti.e</description>
      <pubDate>Thu, 16 Jan 2014 07:17:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291230#M244360</guid>
      <dc:creator>rock_tu</dc:creator>
      <dc:date>2014-01-16T07:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291231#M244361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone can help me?thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 07:23:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291231#M244361</guid>
      <dc:creator>rock_tu</dc:creator>
      <dc:date>2014-01-16T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291232#M244362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on page 32 the tutorial states that variables inside a script task (and the whole Javascript code snippet) should be written between !CDATA:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;scriptTask id="scripttask1" name="Submit" scriptFormat="javascript"&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&amp;lt;![CDATA[var scwf_approveCount = 0; var scwf_tpApproved =&lt;BR /&gt;false;]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the workflow definition you attached the CDATA section is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgeards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 08:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291232#M244362</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-01-16T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291233#M244363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi abarisone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First,thank you for your answer,I have modify like that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"&amp;lt;scriptTask id="scripttask1" name="Submit" scriptFormat="javascript"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;script&amp;gt;&amp;lt;![CDATA[var scwf_approveCount = 0; var scwf_tpApproved =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;false;]]&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/scriptTask&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it's sorry to tell you that doesn't work,do you know another reason cases this trouble?thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 09:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291233#M244363</guid>
      <dc:creator>rock_tu</dc:creator>
      <dc:date>2014-01-16T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291234#M244364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but are you receiving the same error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, please provide the new stacktrace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 09:21:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291234#M244364</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-01-16T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291235#M244365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI abarisone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have got the same error like that "org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 00160060 Failed to execute supplied script: 00160059 ReferenceError: "scwf_approveCount" is not defined. (AlfrescoJS#2)",do you know why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you in advances!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 09:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291235#M244365</guid>
      <dc:creator>rock_tu</dc:creator>
      <dc:date>2014-01-16T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291236#M244366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;according to ecmarchitect page &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series&lt;/A&gt;&lt;SPAN&gt;, if you're using an alfresco version equal (or higher I think) than 4.2.c, you should use the code linked at this address &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/alfresco-workflow-tutorial-42c.zip" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/alfresco-workflow-tutorial-42c.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgeards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 10:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291236#M244366</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-01-16T10:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291237#M244367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi abarisone&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your suggestion,I have downloaded version 4.2.c,I running versioin 4.2.e,But I Got same error too,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 00160048 Failed to execute supplied script: 00160047 ReferenceError: "scwf_approveCount" is not defined. (AlfrescoJS#2)" and "org.activiti.engine.ActivitiException: Unknown property used in expression: ${scwf_approveCount &amp;lt; 2}" anybody can help me?thank you in advances!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 13:35:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291237#M244367</guid>
      <dc:creator>rock_tu</dc:creator>
      <dc:date>2014-01-16T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291238#M244368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i try to approve the workflow from marketing user show me this error message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp; org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 09120013 Failed to execute supplied script: 09120012 ReferenceError: "fowf_approveCount" n'est pas défini (AlfrescoJS#2) &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and if i chose reject it pass correctly but when i try to approve or reject the workflow from operations user show me that error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; org.activiti.engine.ActivitiException: Unknown property used in expression: ${fowf_approveCount == 2} &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 13:25:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291238#M244368</guid>
      <dc:creator>seifb</dc:creator>
      <dc:date>2015-10-12T13:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Property Not Defined</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291239#M244369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same exact issue, i opened a new thread since this one looks a bit outdated and didnt solve the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: i found a way to solve the problem. PLease see &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/workflow/property-error-javascript-variables-10202015-2029#comment-160299" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/workflow/property-error-javascript-variables-10202015-2029#comment-160299&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:19:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/property-not-defined/m-p/291239#M244369</guid>
      <dc:creator>drisschelouati</dc:creator>
      <dc:date>2015-10-20T22:19:00Z</dc:date>
    </item>
  </channel>
</rss>

