<?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: Get Filename of a Document from the Workflow Package in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284088#M237218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you want to start workflow or want to get document name of workflow which is already under progress?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code which you have posted is part of custom listener class of activity? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 10:55:10 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2014-04-07T10:55:10Z</dc:date>
    <item>
      <title>Get Filename of a Document from the Workflow Package</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284087#M237217</link>
      <description>Hi!I try to get the filename of a Document from the Workflow Package with the following code. But the workflow doesnt start and the error message i get is "failed to start Workflow. Returning 500 status code". I think its not a small problem, do you have any Ideas?Thanks for your help!ActivitiScript</description>
      <pubDate>Mon, 07 Apr 2014 10:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284087#M237217</guid>
      <dc:creator>testuser</dc:creator>
      <dc:date>2014-04-07T10:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get Filename of a Document from the Workflow Package</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284088#M237218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you want to start workflow or want to get document name of workflow which is already under progress?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code which you have posted is part of custom listener class of activity? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 10:55:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284088#M237218</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-04-07T10:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get Filename of a Document from the Workflow Package</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284089#M237219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer! I build the Workflow from the Advanced Workflow Tutorial and added the Code to the External Review Notification Class (the Workflow starts and the Mail is send to the user). I can't start the workflow and that seems to be the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried to get the Workflow Package with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;WorkflowTask workflowTask = getServiceRegistry().getWorkflowService().getTaskById(task.getId());&lt;BR /&gt;NodeRef packageNode = workflowTask.getPath().getInstance().getWorkflowPackage();&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here the Exception is: org.alfresco.service.cmr.workflow.WorkflowException: 03090035 Invalid Global Id&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do i have to create a package? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:14:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-filename-of-a-document-from-the-workflow-package/m-p/284089#M237219</guid>
      <dc:creator>testuser</dc:creator>
      <dc:date>2014-04-09T08:14:57Z</dc:date>
    </item>
  </channel>
</rss>

