<?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: Unable to execute script, returns null. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307874#M261004</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;Thank you! I'll try this out later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to test out other things so I have to stick to using and editing from the workflow folder..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 06:53:23 GMT</pubDate>
    <dc:creator>e-no91</dc:creator>
    <dc:date>2014-06-10T06:53:23Z</dc:date>
    <item>
      <title>Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307868#M260998</link>
      <description>I've added a custom workflow in …/classes/alfresco/extensionpengesahan_processdefinition.xml&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;engesahan"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;swimlane name="initiator" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;start-state name="start"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;</description>
      <pubDate>Sat, 07 Jun 2014 00:54:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307868#M260998</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-06-07T00:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307869#M260999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you ever checked whether your process definition is successfully deployed using workflow console?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2014 02:52:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307869#M260999</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-07T02:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307870#M261000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Thank you for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just checked and found out that instead of running the workflow, it runs the previous workflow that I used, wf:reviewpooled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I set the name as wf&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;engesahan, to run that workflow, what mistake have I done here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 00:51:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307870#M261000</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-06-08T00:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307871#M261001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1.Excecute "show definitions" command in workflow console ,make sure your definition is successfully deployed and make sure you specify the correct definition name in your javascrpt code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.I guess maybe you made somewhere,you can write your javascript code like below and it will give you more log info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var wfdef = workflow.getDefinitionByName("jbpm$wf:pengesahan");&lt;BR /&gt;logger.getSystem().out(wfdef.getName());&lt;BR /&gt;&lt;BR /&gt;var wfparams = new Object();&lt;BR /&gt;wfparams["bpm:workflowDescription"] = "Proses pengesahan dokumen : "+document.properties.name;&lt;BR /&gt;wfparams["bpm:groupAssignee"] = "GROUP_KETUA URUSETIA SEKRETARIAT";&lt;BR /&gt;wfparams["bpm:approveDestination"] = "Sites/ar-rahnutest/documentLibrary/PAPARAN";&lt;BR /&gt;wfparams["bpm:rejectDestination"] = "Sites/ar-rahnutest/documentLibrary/TIDAK DILULUSKAN";&lt;BR /&gt;var futureDate = new Date();&lt;BR /&gt;futureDate.setDate(futureDate.getDate() + 3);&lt;BR /&gt;wfparams["bpm:workflowDueDate"] = futureDate;&lt;BR /&gt;wfparams["bpm:workflowPriority"]="2";&lt;BR /&gt;wfparams["bpm:mailSubject"]="Peringatan : Sila lakukan pengesahan";&lt;BR /&gt;var wfpackage = workflow.createPackage();&lt;BR /&gt;wfpackage.addNode(document);&lt;BR /&gt;wfdef.startWorkflow(wfpackage,wfparams);&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;/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;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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 03:47:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307871#M261001</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-08T03:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307872#M261002</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;When you re-deploy your worklow in alfresco, it creates new version of the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, please use the workflow console and find out how many versions of workflow you have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 05:47:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307872#M261002</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2014-06-09T05:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307873#M261003</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;Does this means that it is better to leave the redeploy parameter as false?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So everytime I make changes to the workflow, does it still take effect?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 06:47:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307873#M261003</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-06-10T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute script, returns null.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307874#M261004</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;Thank you! I'll try this out later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to test out other things so I have to stick to using and editing from the workflow folder..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 06:53:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-execute-script-returns-null/m-p/307874#M261004</guid>
      <dc:creator>e-no91</dc:creator>
      <dc:date>2014-06-10T06:53:23Z</dc:date>
    </item>
  </channel>
</rss>

