<?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: Task generated without Resource in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-generated-without-resource/m-p/231449#M184579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guise. I solved the problem. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; My above code is fine. I just had to make the following changes in my code for adding resource (file) to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;NodeRef workflowNodeRef = workflowService.createPackage(null);&lt;BR /&gt;&amp;nbsp; nodeService.addChild(workflowNodeRef, arg1, ContentModel.ASSOC_CONTAINS, QName.createQName(NamespaceService.CONTENT_MODEL_PREFIX, "Advert within the workflow package"));&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 May 2010 06:34:17 GMT</pubDate>
    <dc:creator>sanket</dc:creator>
    <dc:date>2010-05-24T06:34:17Z</dc:date>
    <item>
      <title>Task generated without Resource</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-generated-without-resource/m-p/231448#M184578</link>
      <description>Hi Guise. I have created a rule "Add My Workflow to Item" to a space. So any Item arriving in the space will trigger my workflow. The task isgenerated on the approver's dashboard with approve-reject button. That's fine. Just the problem is- When the approver opens his dashboard, he can see his task</description>
      <pubDate>Mon, 24 May 2010 04:34:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-generated-without-resource/m-p/231448#M184578</guid>
      <dc:creator>sanket</dc:creator>
      <dc:date>2010-05-24T04:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Task generated without Resource</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-generated-without-resource/m-p/231449#M184579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guise. I solved the problem. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; My above code is fine. I just had to make the following changes in my code for adding resource (file) to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;NodeRef workflowNodeRef = workflowService.createPackage(null);&lt;BR /&gt;&amp;nbsp; nodeService.addChild(workflowNodeRef, arg1, ContentModel.ASSOC_CONTAINS, QName.createQName(NamespaceService.CONTENT_MODEL_PREFIX, "Advert within the workflow package"));&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 May 2010 06:34:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-generated-without-resource/m-p/231449#M184579</guid>
      <dc:creator>sanket</dc:creator>
      <dc:date>2010-05-24T06:34:17Z</dc:date>
    </item>
  </channel>
</rss>

