<?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 workflow JavaScript broken  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-broken/m-p/305510#M258640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running into some trouble with my JavaScript within my workflow. I am writing a simple one for now just to get used to the setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The actual problem I am running into is that I make a simple workflow which includes a start event, end event, and user task. I am&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setting my script to run whenever the workflow is started. I wrote the script just to perform a simple calculation and then display that answer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to the logger. When I go to make changes to this script, it won't take the new changes. I'll show you here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var myInt = 12334;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var myOut = myInt * 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; logger.log(String(myOut));&lt;BR /&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the workflow the first time it functions the way I expect. It prints out 24668 to the logger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I change something about the script, let's just say I change the number to be multiplied to 12.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It still outputs 24668. Does anyone know what I'm doing wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 17:21:05 GMT</pubDate>
    <dc:creator>mflaute</dc:creator>
    <dc:date>2015-10-02T17:21:05Z</dc:date>
    <item>
      <title>workflow JavaScript broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-broken/m-p/305510#M258640</link>
      <description>I am running into some trouble with my JavaScript within my workflow. I am writing a simple one for now just to get used to the setup.The actual problem I am running into is that I make a simple workflow which includes a start event, end event, and user task. I amsetting my script to run whenever th</description>
      <pubDate>Fri, 02 Oct 2015 17:21:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-broken/m-p/305510#M258640</guid>
      <dc:creator>mflaute</dc:creator>
      <dc:date>2015-10-02T17:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: workflow JavaScript broken</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-broken/m-p/305511#M258641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried redeploying your workflow?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 15:08:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-javascript-broken/m-p/305511#M258641</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2015-10-05T15:08:07Z</dc:date>
    </item>
  </channel>
</rss>

