<?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: How to get noderef parameter in the workflow page in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-noderef-parameter-in-the-workflow-page/m-p/298498#M251628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;found the solution .noderef can be get by passing the task id. below is the script code for this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;function main(){&lt;BR /&gt;var taskId = args.taskId&lt;BR /&gt;var task = workflow.getTaskById(taskId);&lt;BR /&gt;var nodeRef = task.getPackageResources()[0].nodeRef;&lt;BR /&gt;model.nodeRef = nodeRef;&lt;BR /&gt;}&lt;BR /&gt;main();&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2015 16:09:49 GMT</pubDate>
    <dc:creator>skumar_us</dc:creator>
    <dc:date>2015-03-02T16:09:49Z</dc:date>
    <item>
      <title>How to get noderef parameter in the workflow page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-noderef-parameter-in-the-workflow-page/m-p/298497#M251627</link>
      <description>I am trying to get the noderef parameter in the workflow page by passing the workflowinstance.package which is present in the page.The AJAX call below return "401 unauthorized" error.i did try with changing the url to "Alfresco.constants.PROXY_URI + "-noauth/slingshot/node/workspace/SpacesStore/"+wo</description>
      <pubDate>Sun, 01 Mar 2015 09:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-noderef-parameter-in-the-workflow-page/m-p/298497#M251627</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2015-03-01T09:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to get noderef parameter in the workflow page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-noderef-parameter-in-the-workflow-page/m-p/298498#M251628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;found the solution .noderef can be get by passing the task id. below is the script code for this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;function main(){&lt;BR /&gt;var taskId = args.taskId&lt;BR /&gt;var task = workflow.getTaskById(taskId);&lt;BR /&gt;var nodeRef = task.getPackageResources()[0].nodeRef;&lt;BR /&gt;model.nodeRef = nodeRef;&lt;BR /&gt;}&lt;BR /&gt;main();&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 16:09:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-noderef-parameter-in-the-workflow-page/m-p/298498#M251628</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2015-03-02T16:09:49Z</dc:date>
    </item>
  </channel>
</rss>

