<?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: Service-context.xml file causing login issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43589#M17941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Email notification resolved !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was on the smtp server not allowing mail to be relayed due to an unauthorized host. Referred to:&amp;nbsp;&lt;A class="link-titled" href="https://bobcares.com/blog/how-to-fix-smtp-auth-required-for-message-submission-on-port-587-error-in-cpanel-whm/" title="https://bobcares.com/blog/how-to-fix-smtp-auth-required-for-message-submission-on-port-587-error-in-cpanel-whm/" rel="nofollow noopener noreferrer"&gt;Fix SMTP AUTH required for message submission on port 587&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2019 09:14:23 GMT</pubDate>
    <dc:creator>erichkey</dc:creator>
    <dc:date>2019-02-22T09:14:23Z</dc:date>
    <item>
      <title>Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43570#M17922</link>
      <description>I'm able to deploy a new custom workflow but upon testing a receive an error regarding the destination folder for the document in the workflow, the service-context.xml is not added into alfresco yet.When Adding the file to {PATH}/alfresco/extension (this is were I copied the workflow bpmn file) and</description>
      <pubDate>Tue, 29 Jan 2019 13:56:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43570#M17922</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-01-29T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43571#M17923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see any error mesagge in alfresco.log file during the startup after placing &lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;service-context.xml file in {PATH}/alfresco/extension?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is happening even if you can see the login screen of the application, you will not be able to log in because the repository is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 00:12:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43571#M17923</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-01-30T00:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43572#M17924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found an error in the log file indicating to a directory path that was incorrect which after I could login again.&lt;/P&gt;&lt;P&gt;So when testing the new created workflow, I get am prompt with:&lt;/P&gt;&lt;P&gt;"org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 01041176 Failed to execute supplied script: 01041175 A value for the mandatory parameter destination-folder has not been set on the rule item transform" which directs me to the following lines in the bpmn file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* transform to pdf */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var drafts = bpm_package.children[0].parent;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var docroot = drafts.parent; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dest = docroot.childByNamePath("Released");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var trans = actions.create("transform"); &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.parameters["&lt;STRONG&gt;destination-folder&lt;/STRONG&gt;"] = dest; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.parameters["assoc-type"] = "{http://www.alfresco.org/model/content/1.0}contains";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.parameters["assoc-name"] = String("{http://www.alfresco.org/model/content/1.0}" + bpm_package.children[0].properties["cm:name"]);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.parameters["mime-type"] = "application/pdf"; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans.execute(bpm_package.children[0]);]]&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure what the problem is or how to correct it, I'm still considered a newbie when it comes to alfresco but thanks for the assistance so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 13:03:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43572#M17924</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-04T13:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43573#M17925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can start for confirm that space "Released" exists in the same space that the content in bpm_package.children[0] and that the user that execute this task has access to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 14:25:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43573#M17925</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-04T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43574#M17926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where would I have to look to see if "Release" is in fact in the same space as the content of bpm_package.children[0]?&lt;/P&gt;&lt;P&gt;For the execute rights, do I just use chmod?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 12:32:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43574#M17926</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-05T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43575#M17927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are always talking about Alfresco Repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your code "Released" must be an Alfresco Space located in the same space that the document that started the workflow (bpm_package.children[0]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand we are not taking about execution rights but about permissions in Alfresco. Its posible that you don't obtain any result in:&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;docroot&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;childByNamePath&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Released"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;because the user haven't enought privileges in the parent space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 02:03:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43575#M17927</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-06T02:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43576#M17928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the back end I'm unable to find anything related to the mentioned spaces. Is there a specific way of finding "Released" and the bpm_package.children[0]? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:04:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43576#M17928</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-08T06:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43577#M17929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;What steps are you taking to start the workflow instance?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bpm_package.children[0] is the node that you are triyng to transform so you have had to selected it in some point before&lt;BR /&gt;starting the workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Released" simply must be located in the same Alfresco Space than the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reach then you can browse the repository or use the search forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 10:53:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43577#M17929</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-08T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43578#M17930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workflow is started on the UI under Task &amp;gt; My Tasks &amp;gt; Workflow &amp;gt; Custom Workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the other do refer to the default workflows that are included?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 11:31:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43578#M17930</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-11T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43579#M17931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With &lt;EM&gt;the other&lt;/EM&gt; I mean the document in bpm_package.children [0] that you should have selected in the workflow start form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:55:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43579#M17931</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-11T18:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43580#M17932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberto, &lt;/P&gt;&lt;P&gt;Is there perhaps a way I can contact you directly, perhaps via skype?&lt;/P&gt;&lt;P&gt;This issue is causing some delay and it would be solved quicker via direct message platform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 08:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43580#M17932</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-12T08:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43581#M17933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can send me a private mensagge if you want but as you sure understand outside community&amp;nbsp;i don't think that i can give you this kind of support.&lt;/P&gt;&lt;P&gt;It seems that your workflow its trying to tranform a document into pdf and store it in an especific folder. This forder must be located in Alfresco Repository in the same space where the original document (target of the transformation) lives.&lt;BR /&gt;Taking into acount that you init the workflow manually you must know where is the original file and so the destination folder.&lt;/P&gt;&lt;P&gt;However if you want to attach workflow files it would be easiest to find your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:37:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43581#M17933</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-12T12:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43582#M17934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I completely understand. Figured I might give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the workflow is configured to transfer the file into a pdf file once the workflow is completed but where it stores the folder is the issue. According to the workflow previously created, it is as you described:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&amp;nbsp;This forder must be located in Alfresco Repository in the same space where the original document (target of the transformation) lives.&lt;/BLOCKQUOTE&gt;&lt;P&gt;This issue just randomly occurred one day, so to test out the workflow I created a new alfresco install and the same issue persisted. The previous admin created the workflow as per following instructions:&amp;nbsp;&lt;/P&gt;&lt;H1 class="" id="toc-hId-1812736791"&gt;Adding &lt;SPAN class=""&gt;Workflow&lt;/SPAN&gt; to &lt;SPAN class=""&gt;Alfresco&lt;/SPAN&gt;&lt;/H1&gt;&lt;DIV class=""&gt;&lt;P&gt;This assumes that you already created an Activiti bpmn &lt;SPAN class=""&gt;workflow&lt;/SPAN&gt; in Eclipse&lt;/P&gt;&lt;P&gt;Go to Alfrecso &lt;SPAN class=""&gt;workflow&lt;/SPAN&gt; directory and create the spring bean file:&lt;/P&gt;&lt;PRE class=""&gt; nano /opt/&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;-community/tomcat/shared/classes/&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;/extensions/service-context.xml&lt;/PRE&gt;&lt;PRE class=""&gt; &amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt; &amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'&amp;gt; &amp;lt;!--     Licensed to the Apache Software Foundation (ASF) under one or more     contributor license agreements.  See the NOTICE file distributed with     this work for additional information regarding copyright ownership.     The ASF licenses this file to You under the Apache License, Version 2.0     (the "License"); you may not use this file except in compliance with     the License.  You may obtain a copy of the License at     	     http://www.apache.org/licenses/LICENSE-2.0     	     Unless required by applicable law or agreed to in writing, software     distributed under the License is distributed on an "AS IS" BASIS,     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.     See the License for the specific language governing permissions and     limitations under the License. --&amp;gt; &amp;lt;beans&amp;gt;         &amp;lt;!-- A simple module component that will be executed once.         Note. this module component will only be executed once, and then there will be an entry for it in the Repo.         So doing for example $ mvn clean install -Pamp-to-war twice will only execute this component the first time.         You need to remove /alf_data_dev for it to be executed again. --&amp;gt;     &amp;lt;bean id="extension.workflowBootstrap" parent="workflowDeployer"&amp;gt;         &amp;lt;property name="workflowDefinitions"&amp;gt;     	  	&amp;lt;list&amp;gt;                                 &amp;lt;props&amp;gt;                     &amp;lt;prop key="engineId"&amp;gt;activiti&amp;lt;/prop&amp;gt;                     &amp;lt;prop key="location"&amp;gt;&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;/extension/&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;/MyProcess2.bpmn&amp;lt;/prop&amp;gt;                     &amp;lt;prop key="mimetype"&amp;gt;text/xml&amp;lt;/prop&amp;gt;                     &amp;lt;prop key="redeploy"&amp;gt;false&amp;lt;/prop&amp;gt;                 &amp;lt;/props&amp;gt;  	&amp;lt;/list&amp;gt;          &amp;lt;/property&amp;gt; 	&amp;lt;/bean&amp;gt;  &amp;lt;/beans&amp;gt;&lt;/PRE&gt;&lt;P&gt;Save and exit the editor Create the &lt;SPAN class=""&gt;Workflow&lt;/SPAN&gt; directory:&lt;/P&gt;&lt;PRE class=""&gt; mkdir -p /opt/&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;-community/tomcat/shared/classes/&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;/extensions/&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;/&lt;/PRE&gt;&lt;P&gt;Create the &lt;SPAN class=""&gt;Workflow&lt;/SPAN&gt; file called MyProcess2.bpmn&amp;lt;/code&amp;gt; Paste the following defaults and save and exit when done&lt;/P&gt;&lt;PRE class=""&gt; &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://activiti.org/bpmn20" id="review-definitions"&amp;gt;   &amp;lt;process id="ksesWorkflow" name="Keystone Document Review" isExecutable="true"&amp;gt;     &amp;lt;startEvent id="start" activiti:formKey="wf:submitReviewTask"&amp;gt;&amp;lt;/startEvent&amp;gt;     &amp;lt;sequenceFlow id="flow1" sourceRef="start" targetRef="reviewTask"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;     &amp;lt;userTask id="reviewTask" name="Review Task" activiti:assignee="${bpm_assignee.properties.userName}" activiti:formKey="wf:activitiReviewTask"&amp;gt;       &amp;lt;extensionElements&amp;gt;         &amp;lt;activiti:taskListener event="create" class="org.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.repo.&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;.activiti.tasklistener.ScriptTaskListener"&amp;gt;           &amp;lt;activiti:field name="script"&amp;gt;             &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);                         if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;]]&amp;gt;&amp;lt;/activiti:string&amp;gt;           &amp;lt;/activiti:field&amp;gt;         &amp;lt;/activiti:taskListener&amp;gt;         &amp;lt;activiti:taskListener event="complete" class="org.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.repo.&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;.activiti.tasklistener.ScriptTaskListener"&amp;gt;           &amp;lt;activiti:field name="script"&amp;gt;             &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[execution.setVariable('wf_reviewOutcome', task.getVariable('wf_reviewOutcome'));  /* transform to pdf */                      var drafts = bpm_package.children[0].parent;                      var docroot = drafts.parent;                       var dest = docroot.childByNamePath("Released");                      var trans = actions.create("transform");                       trans.parameters["destination-folder"] = dest;                       trans.parameters["assoc-type"] = "{http://www.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.org/model/content/1.0}contains";                      trans.parameters["assoc-name"] = String("{http://www.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.org/model/content/1.0}" + bpm_package.children[0].properties["cm:name"]);                      trans.parameters["mime-type"] = "application/pdf";                       trans.execute(bpm_package.children[0]);]]&amp;gt;&amp;lt;/activiti:string&amp;gt;           &amp;lt;/activiti:field&amp;gt;         &amp;lt;/activiti:taskListener&amp;gt;       &amp;lt;/extensionElements&amp;gt;     &amp;lt;/userTask&amp;gt;     &amp;lt;sequenceFlow id="flow2" sourceRef="reviewTask" targetRef="reviewDecision"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;     &amp;lt;exclusiveGateway id="reviewDecision" name="Review Decision"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;     &amp;lt;sequenceFlow id="flow3" sourceRef="reviewDecision" targetRef="approved"&amp;gt;       &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${wf_reviewOutcome == 'Approve'}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;     &amp;lt;/sequenceFlow&amp;gt;     &amp;lt;sequenceFlow id="flow4" sourceRef="reviewDecision" targetRef="rejected"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;     &amp;lt;userTask id="approved" name="Document Approved" activiti:assignee="${initiator.properties.userName}" activiti:formKey="wf:approvedTask"&amp;gt;       &amp;lt;documentation&amp;gt;The document was reviewed and approved.&amp;lt;/documentation&amp;gt;       &amp;lt;extensionElements&amp;gt;         &amp;lt;activiti:taskListener event="create" class="org.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.repo.&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;.activiti.tasklistener.ScriptTaskListener"&amp;gt;           &amp;lt;activiti:field name="script"&amp;gt;             &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);                         if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;]]&amp;gt;&amp;lt;/activiti:string&amp;gt;           &amp;lt;/activiti:field&amp;gt;         &amp;lt;/activiti:taskListener&amp;gt;       &amp;lt;/extensionElements&amp;gt;     &amp;lt;/userTask&amp;gt;     &amp;lt;userTask id="rejected" name="Document Rejected" activiti:assignee="${initiator.properties.userName}" activiti:formKey="wf:rejectedTask"&amp;gt;       &amp;lt;documentation&amp;gt;The document was reviewed and rejected.&amp;lt;/documentation&amp;gt;       &amp;lt;extensionElements&amp;gt;         &amp;lt;activiti:taskListener event="create" class="org.&lt;SPAN class=""&gt;alfresco&lt;/SPAN&gt;.repo.&lt;SPAN class=""&gt;workflow&lt;/SPAN&gt;.activiti.tasklistener.ScriptTaskListener"&amp;gt;           &amp;lt;activiti:field name="script"&amp;gt;             &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[if (typeof bpm_workflowDueDate != 'undefined') task.setVariableLocal('bpm_dueDate', bpm_workflowDueDate);                         if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;]]&amp;gt;&amp;lt;/activiti:string&amp;gt;           &amp;lt;/activiti:field&amp;gt;         &amp;lt;/activiti:taskListener&amp;gt;       &amp;lt;/extensionElements&amp;gt;     &amp;lt;/userTask&amp;gt;     &amp;lt;sequenceFlow id="flow5" sourceRef="approved" targetRef="end"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;     &amp;lt;sequenceFlow id="flow6" sourceRef="rejected" targetRef="end"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;     &amp;lt;endEvent id="end"&amp;gt;&amp;lt;/endEvent&amp;gt;   &amp;lt;/process&amp;gt;   &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_ksesWorkflow"&amp;gt;     &amp;lt;bpmndi:BPMNPlane bpmnElement="ksesWorkflow" id="BPMNPlane_ksesWorkflow"&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start"&amp;gt;         &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="30.0" y="200.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="reviewTask" id="BPMNShape_reviewTask"&amp;gt;         &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="105.0" y="190.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="reviewDecision" id="BPMNShape_reviewDecision"&amp;gt;         &amp;lt;omgdc:Bounds height="40.0" width="40.0" x="250.0" y="197.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="approved" id="BPMNShape_approved"&amp;gt;         &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="330.0" y="137.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="rejected" id="BPMNShape_rejected"&amp;gt;         &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="330.0" y="257.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNShape bpmnElement="end" id="BPMNShape_end"&amp;gt;         &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="620.0" y="147.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;       &amp;lt;/bpmndi:BPMNShape&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1"&amp;gt;         &amp;lt;omgdi:waypoint x="65.0" y="217.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="105.0" y="217.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2"&amp;gt;         &amp;lt;omgdi:waypoint x="210.0" y="217.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="250.0" y="217.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"&amp;gt;         &amp;lt;omgdi:waypoint x="270.0" y="197.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="270.0" y="164.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="330.0" y="164.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4"&amp;gt;         &amp;lt;omgdi:waypoint x="270.0" y="237.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="270.0" y="284.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="330.0" y="284.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5"&amp;gt;         &amp;lt;omgdi:waypoint x="435.0" y="164.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="620.0" y="164.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;       &amp;lt;bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6"&amp;gt;         &amp;lt;omgdi:waypoint x="435.0" y="284.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="637.0" y="284.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;         &amp;lt;omgdi:waypoint x="637.0" y="182.0"&amp;gt;&amp;lt;/omgdi:waypoint&amp;gt;       &amp;lt;/bpmndi:BPMNEdge&amp;gt;     &amp;lt;/bpmndi:BPMNPlane&amp;gt;   &amp;lt;/bpmndi:BPMNDiagram&amp;gt; &amp;lt;/definitions&amp;gt;&lt;/PRE&gt;&lt;P&gt;Restart &lt;SPAN class=""&gt;Alfresco&lt;/SPAN&gt; and Log in with your username and password, go to Task &amp;gt; My Tasks &amp;gt; Select the custom workflow and it worked. &lt;/P&gt;&lt;P&gt;I have uploaded the files mentioned above and also another file that was located along the worklfow files, another bpmn file.&lt;/P&gt;&lt;P&gt;Like I previously said I'm fairly new to Alfresco Repositories and especially when it comes to the workflows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.dropbox.com/sh/b4hb77wz9um47pe/AAB0Qub2u2qeApjq26X4GNwia?dl=0" title="https://www.dropbox.com/sh/b4hb77wz9um47pe/AAB0Qub2u2qeApjq26X4GNwia?dl=0" rel="nofollow noopener noreferrer"&gt;Dropbox - Alfresco Workflow Files - Simplify your life&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 07:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43582#M17934</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-13T07:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43583#M17935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just realized that in your code you up to levels in the spaces hierarchy to find the destination space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; drafts &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; bpm_package&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;children&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parent&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; docroot &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; drafts&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parent&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; dest &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; docroot&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;childByNamePath&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Released"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that assuming that the document you are trying to transform is in for example:&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;Repositorio&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Community&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; DocumentReview&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Documents&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the destination folder Released must be in:&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;Repositorio&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Community&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; DocumentReview&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25303" alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/25303_Erich.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take in count that the user that execute the workflow must have read/write access to the destination space to find it and to create the transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the workflow with admin user to know if you hace permission problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:16:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43583#M17935</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-13T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43584#M17936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have executed with admin but the permissions don't seem to be the problem. Upon starting the workflow as a user for a document to be reviewed, it select approve as the admin that the document has been reviewed and then get the following error message: &lt;/P&gt;&lt;P&gt;org.activiti.engine.ActivitiException: Exception while invoking TaskListener: Exception while invoking TaskListener: 0115188195 Failed to execute supplied script: 0115188194 A value for the mandatory parameter destination-folder has not been set on the rule item transform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to what you stated if I understood correct is that the draft is taken from the original folder and upon releasing the document, it is placed into another folder. Would I be able to resolve this by setting&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; dest &lt;SPAN class=""&gt;=&lt;/SPAN&gt; docroot&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;childByNamePath&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Released"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/CODE&gt; to &lt;CODE&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; dest &lt;SPAN class=""&gt;=&lt;/SPAN&gt; bpm_package&lt;SPAN class=""&gt;.&lt;/SPAN&gt;children&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;parent&lt;SPAN class=""&gt;; ? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 06:28:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43584#M17936</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-15T06:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43585#M17937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course if you want to create the transformed document in the same space that the original one. Other option could be check if the folder exist and create it if not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; dest &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; docroot&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;childByNamePath&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Released"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;dest &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;dest &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; docroot&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createFolder&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Released"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 10:31:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43585#M17937</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-15T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43586#M17938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I seems that the workflow is working for now. I was busy configuring the smtp settings so that notifications emails are sent to an assignee when the workflow has started. I used &lt;A class="link-titled" href="https://docs.alfresco.com/community/concepts/email-outboundsmtp-props.html" title="https://docs.alfresco.com/community/concepts/email-outboundsmtp-props.html" rel="nofollow noopener noreferrer"&gt;Outbound SMTP configuration properties | Alfresco Documentation&lt;/A&gt; for the configuration but I'm not receiving a email noti when the workflow has started. I thought it might be an problem on our smtp server side so I used the gmail sample with my personal email as sender to see if that made a difference, sadly it didn't. &lt;/P&gt;&lt;P&gt;Here's how I have it configured at the moment.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/25330_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43586#M17938</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-21T06:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43587#M17939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any message in the server logs&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #727174; "&gt;&amp;nbsp;(alfresco.log, catalina.out).?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 19:35:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43587#M17939</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-02-21T19:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43588#M17940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I got in the alfresco.log file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2019-02-21 11:17:01,545 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] [mailAsyncAction1] Failed to send email to [erich] : org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses;&lt;BR /&gt;&amp;nbsp; nested exception is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;com.sun.mail.smtp.SMTPAddressFailedException: 550 SMTP AUTH is required for message submission on port 587&lt;BR /&gt;; message exceptions (1) are:&lt;BR /&gt;Failed message 1: javax.mail.SendFailedException: Invalid Addresses;&lt;BR /&gt;&amp;nbsp; nested exception is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;com.sun.mail.smtp.SMTPAddressFailedException: 550 SMTP AUTH is required for message submission on port 587&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2019-02-21 11:17:18,169 ERROR [org.alfresco.repo.action.executer.MailActionExecuter] [mailAsyncAction2] Failed to send email to [admin] : org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses;&lt;BR /&gt;&amp;nbsp; nested exception is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;com.sun.mail.smtp.SMTPAddressFailedException: 550 SMTP AUTH is required for message submission on port 587&lt;BR /&gt;; message exceptions (1) are:&lt;BR /&gt;Failed message 1: javax.mail.SendFailedException: Invalid Addresses;&lt;BR /&gt;&amp;nbsp; nested exception is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;com.sun.mail.smtp.SMTPAddressFailedException: 550 SMTP AUTH is required for message submission on port 587&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The catalina.out file does not contain any error messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 06:20:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43588#M17940</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-22T06:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Service-context.xml file causing login issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43589#M17941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Email notification resolved !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was on the smtp server not allowing mail to be relayed due to an unauthorized host. Referred to:&amp;nbsp;&lt;A class="link-titled" href="https://bobcares.com/blog/how-to-fix-smtp-auth-required-for-message-submission-on-port-587-error-in-cpanel-whm/" title="https://bobcares.com/blog/how-to-fix-smtp-auth-required-for-message-submission-on-port-587-error-in-cpanel-whm/" rel="nofollow noopener noreferrer"&gt;Fix SMTP AUTH required for message submission on port 587&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2019 09:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/service-context-xml-file-causing-login-issue/m-p/43589#M17941</guid>
      <dc:creator>erichkey</dc:creator>
      <dc:date>2019-02-22T09:14:23Z</dc:date>
    </item>
  </channel>
</rss>

