<?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 attach a file to a workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229950#M183080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you from your quick responses.&amp;nbsp; It seems that the second part of my question was very easy to answer.&amp;nbsp; However, I neglected to mention that this is a WCM submission workflow.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I gave the editor (alfresco user responsible for editing the doc) "add_package_item_actions" (and after that didn't work I tried "edit_and_remove_wcm_package_item_actions"), and Alfresco now shows the icons as if the editor could edit or update the files, but clicking on them generates a null pointer exception.&amp;nbsp; I assume this is because the file is located in the initiator's sandbox and no one else has access to that.&amp;nbsp; The error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;javax.faces.FacesException: java.lang.NullPointerException&lt;BR /&gt;at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)&lt;BR /&gt;at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)&lt;BR /&gt;at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)&lt;BR /&gt;at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)&lt;BR /&gt;at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;BR /&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;BR /&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;BR /&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;BR /&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)&lt;BR /&gt;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)&lt;BR /&gt;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;BR /&gt;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:619)&lt;BR /&gt;Caused by: org.apache.jasper.JasperException: java.lang.NullPointerException&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)&lt;BR /&gt;at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)&lt;BR /&gt;at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)&lt;BR /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)&lt;BR /&gt;at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)&lt;BR /&gt;… 19 more&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;at org.alfresco.web.bean.coci.CCUpdateFileDialog.getContainerTitle(CCUpdateFileDialog.java:22)&lt;BR /&gt;at org.alfresco.web.bean.dialog.DialogManager.getTitle(DialogManager.java:208)&lt;BR /&gt;at org.apache.jsp.jsp.dialog.container_jsp._jspService(container_jsp.java:179)&lt;BR /&gt;at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)&lt;BR /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)&lt;BR /&gt;… 29 more &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;/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;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;SPAN&gt;Does anyone have experience with this?&amp;nbsp; Is it possible to edit a file in another user's sandbox through a workflow?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 15:22:47 GMT</pubDate>
    <dc:creator>oneporter</dc:creator>
    <dc:date>2009-09-23T15:22:47Z</dc:date>
    <item>
      <title>How to attach a file to a workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229947#M183077</link>
      <description>Hi,I'm attempting to attach a file to a workflow, but I don't know how to tell alfresco to display a file picker dialog.&amp;nbsp; I think I need to use xf:upload in my &amp;lt;config&amp;gt; section describing the workflow node.&amp;nbsp; Does anyone know how to do this?More generally, how do I see all of the options for ch</description>
      <pubDate>Mon, 21 Sep 2009 16:01:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229947#M183077</guid>
      <dc:creator>oneporter</dc:creator>
      <dc:date>2009-09-21T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach a file to a workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229948#M183078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check the sources of "adhoc workflow" in your directories. For Details, see Wiki -&amp;gt; "Browse categories" -&amp;gt; "Cat:Workflow" -&amp;gt; "Cat:Workflow_adminstration" and check &lt;/SPAN&gt;&lt;A href="http://www.echarchitect.com" rel="nofollow noopener noreferrer"&gt;http://www.echarchitect.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Norgan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 19:59:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229948#M183078</guid>
      <dc:creator>norgan</dc:creator>
      <dc:date>2009-09-21T19:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach a file to a workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229949#M183079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just to correct your link&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/archives/2007/11/19/785" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/archives/2007/11/19/785&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 10:46:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229949#M183079</guid>
      <dc:creator>jayjayecl</dc:creator>
      <dc:date>2009-09-22T10:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach a file to a workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229950#M183080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you from your quick responses.&amp;nbsp; It seems that the second part of my question was very easy to answer.&amp;nbsp; However, I neglected to mention that this is a WCM submission workflow.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I gave the editor (alfresco user responsible for editing the doc) "add_package_item_actions" (and after that didn't work I tried "edit_and_remove_wcm_package_item_actions"), and Alfresco now shows the icons as if the editor could edit or update the files, but clicking on them generates a null pointer exception.&amp;nbsp; I assume this is because the file is located in the initiator's sandbox and no one else has access to that.&amp;nbsp; The error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;javax.faces.FacesException: java.lang.NullPointerException&lt;BR /&gt;at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)&lt;BR /&gt;at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)&lt;BR /&gt;at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)&lt;BR /&gt;at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)&lt;BR /&gt;at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;BR /&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;BR /&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;BR /&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;BR /&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)&lt;BR /&gt;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)&lt;BR /&gt;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;BR /&gt;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:619)&lt;BR /&gt;Caused by: org.apache.jasper.JasperException: java.lang.NullPointerException&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)&lt;BR /&gt;at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)&lt;BR /&gt;at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)&lt;BR /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)&lt;BR /&gt;at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)&lt;BR /&gt;at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)&lt;BR /&gt;… 19 more&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;at org.alfresco.web.bean.coci.CCUpdateFileDialog.getContainerTitle(CCUpdateFileDialog.java:22)&lt;BR /&gt;at org.alfresco.web.bean.dialog.DialogManager.getTitle(DialogManager.java:208)&lt;BR /&gt;at org.apache.jsp.jsp.dialog.container_jsp._jspService(container_jsp.java:179)&lt;BR /&gt;at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)&lt;BR /&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)&lt;BR /&gt;… 29 more &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;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t;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Does anyone have experience with this?&amp;nbsp; Is it possible to edit a file in another user's sandbox through a workflow?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 15:22:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-attach-a-file-to-a-workflow/m-p/229950#M183080</guid>
      <dc:creator>oneporter</dc:creator>
      <dc:date>2009-09-23T15:22:47Z</dc:date>
    </item>
  </channel>
</rss>

