<?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 Failed to start workflow in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71926#M23403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement simple document approval hierarchy workflow. When I try to start workflow from form it shows this..&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24777" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/24777_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log is showing following error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;org.springframework.extensions.webscripts.WebScriptException: 00100003 Script url /api/workflow/activiti$DocumentApprovalHierarchy/formprocessor does not support the method GET&lt;BR /&gt; at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:180)&lt;BR /&gt; at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)&lt;BR /&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;BR /&gt; at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;BR /&gt; at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&lt;BR /&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;BR /&gt; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&lt;BR /&gt; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&lt;BR /&gt; at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)&lt;BR /&gt; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)&lt;BR /&gt; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)&lt;BR /&gt; at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)&lt;BR /&gt; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&lt;BR /&gt; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)&lt;BR /&gt; at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)&lt;BR /&gt; at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)&lt;BR /&gt; at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model file :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;model name="cr:contentReviewModel" xmlns="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.alfresco.org/model/dictionary/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;description&amp;gt;Content Review Model&amp;lt;/description&amp;gt;&lt;BR /&gt; &amp;lt;author&amp;gt;Yash&amp;lt;/author&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;imports&amp;gt;&lt;BR /&gt; &amp;lt;!-- Import Alfresco Dictionary Definitions --&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;import uri="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.alfresco.org/model/dictionary/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dictionary/1.0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; prefix="d" /&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;import uri="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.alfresco.org/model/bpm/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/bpm/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="bpm" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;!-- Import Alfresco Content Domain Model Definitions --&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;import uri="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.alfresco.org/model/content/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="cm" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;!-- Import Alfresco System Model Definitions --&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;import uri="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.alfresco.org/model/system/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="sys" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/imports&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;namespace uri="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.crwf.org/model/workflow/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.crwf.org/model/workflow/1.0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; prefix="cr" /&amp;gt;&lt;BR /&gt; &amp;lt;/namespaces&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;types&amp;gt;&lt;BR /&gt; &amp;lt;type name="cr:documentHierarchy"&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;bpm:startTask&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;!-- &amp;lt;property name="cr:documentInitialComment"&amp;gt; &amp;lt;title&amp;gt;Workflow Initiator's&lt;BR /&gt; Comment&amp;lt;/title&amp;gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &amp;lt;/property&amp;gt; --&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;overrides&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackageItemActionGroup"&amp;gt;&lt;BR /&gt; &amp;lt;default&amp;gt;read_package_item_actions&amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;!-- &amp;lt;property name="bpm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcomePropertyName"&amp;gt; &amp;lt;default&amp;gt;{&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.crwf.org/model/workflow/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.crwf.org/model/workflow/1.0&lt;/A&gt;&lt;SPAN&gt;}documentInitialComment&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/default&amp;gt; &amp;lt;/property&amp;gt; --&amp;gt;&lt;BR /&gt; &amp;lt;/overrides&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type name="cr:documentReview"&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;cr:submit&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;!-- &amp;lt;property name="cr:documentInitialCommentReview"&amp;gt; &amp;lt;title&amp;gt;Workflow&lt;BR /&gt; Initiator's Comment&amp;lt;/title&amp;gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &amp;lt;/property&amp;gt; --&amp;gt;&lt;BR /&gt; &amp;lt;property name="cr:documentReviewerFeedback"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Reviewer's Comment&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;overrides&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackageItemActionGroup"&amp;gt;&lt;BR /&gt; &amp;lt;default&amp;gt;read_package_item_actions&amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcomePropertyName"&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;default&amp;gt;{&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.crwf.org/model/workflow/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.crwf.org/model/workflow/1.0&lt;/A&gt;&lt;SPAN&gt;}documentReviewerFeedback&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/overrides&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type name="cr:documentApproval"&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;cr:submit&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- &amp;lt;property name="cr:documentInitialCommentApproval"&amp;gt; &amp;lt;title&amp;gt;Workflow&lt;BR /&gt; Initiator's Comment&amp;lt;/title&amp;gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt; &amp;lt;/property&amp;gt; --&amp;gt;&lt;BR /&gt; &amp;lt;property name="cr:documentReviewerFeedbackApprpoval"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Reviewer's Comment&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;overrides&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcomePropertyName"&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;default&amp;gt;{&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.crwf.org/model/workflow/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.crwf.org/model/workflow/1.0&lt;/A&gt;&lt;SPAN&gt;}taskOutCome&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/overrides&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;type name="cr:submit"&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;bpm:activitiOutcomeTask&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt; &amp;lt;property name="cr:submitProperty"&amp;gt;&lt;BR /&gt; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;constraints&amp;gt;&lt;BR /&gt; &amp;lt;constraint type="LIST"&amp;gt;&lt;BR /&gt; &amp;lt;parameter name="allowedValues"&amp;gt;&lt;BR /&gt; &amp;lt;list&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;Submit&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;/list&amp;gt;&lt;BR /&gt; &amp;lt;/parameter&amp;gt;&lt;BR /&gt; &amp;lt;/constraint&amp;gt;&lt;BR /&gt; &amp;lt;/constraints&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt; &amp;lt;overrides&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackageItemActionGroup"&amp;gt;&lt;BR /&gt; &amp;lt;default&amp;gt;read_package_item_actions&amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="bpm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcomePropertyName"&amp;gt;&lt;BR /&gt; &lt;SPAN&gt;&amp;lt;default&amp;gt;{&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.crwf.org/model/workflow/1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.crwf.org/model/workflow/1.0&lt;/A&gt;&lt;SPAN&gt;}submitProperty&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/default&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/overrides&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;BR /&gt; &amp;lt;/types&amp;gt;&lt;BR /&gt;&amp;lt;/model&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bpmn file :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.omg.org/spec/BPMN/20100524/MODEL" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.w3.org/2001/XMLSchema" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/activiti.org/bpmn" target="_blank" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.omg.org/spec/BPMN/20100524/DI" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.omg.org/spec/DD/20100524/DC" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.omg.org/spec/DD/20100524/DI" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.w3.org/2001/XMLSchema" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.w3.org/1999/XPath" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/www.activiti.org/test" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;process id="DocumentApprovalHierarchy" name="Document Approval Hierarchy" isExecutable="true"&amp;gt;&lt;BR /&gt; &amp;lt;startEvent id="startevent1" name="Start" activiti:formKey="cr&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;ocumentApprovalHierarchy"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="documentReviewTask" name="Review Task" activiti:candidateGroups="GROUP_Reviewer" activiti:formKey="cr:documentReview"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&lt;BR /&gt; execution.setVariable('reviewerComment',"Reviewed");&lt;BR /&gt; &amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;userTask id="documentApprovalTask" name="Approval Task" activiti:candidateGroups="GROUP_Approver" activiti:formKey="cr:documentApproval" &amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:taskListener event="create" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt; &amp;lt;activiti:string&amp;gt;&lt;BR /&gt; execution.setVariable('cr_documentReviewCommentApproval',reviewerComment);&lt;BR /&gt; &amp;lt;/activiti:string&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt; &amp;lt;/activiti:taskListener&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/userTask&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow1" name="flow1" sourceRef="startevent1" targetRef="documentReviewTask"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow2" name="flow2" sourceRef="documentReviewTask" targetRef="documentApprovalTask"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="flow3" name="flow3" sourceRef="documentApprovalTask" targetRef="endevent1"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/process&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNPlane bpmnElement="DocumentApprovalHierarchy" id="BPMNPlane_myProcess"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="60.0" y="90.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="documentReviewTask" id="BPMNShape_usertask1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="140.0" y="80.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="documentApprovalTask" id="BPMNShape_usertask2"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="55.0" width="105.0" x="290.0" y="80.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"&amp;gt;&lt;BR /&gt; &amp;lt;omgdc:Bounds height="35.0" width="35.0" x="470.0" y="100.0"&amp;gt;&amp;lt;/omgdc:Bounds&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNShape&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNPlane&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNDiagram&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share-config-custom.xml&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;alfresco-config&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;config evaluator="string-compare" condition="activiti$DocumentApprovalHierarchy"&amp;gt;&lt;BR /&gt; &amp;lt;forms&amp;gt;&lt;BR /&gt; &amp;lt;form&amp;gt;&lt;BR /&gt; &amp;lt;field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;show id="packageItems" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;appearance&amp;gt;&lt;BR /&gt; &amp;lt;set id="items" appearance="title" label-id="workflow.set.items" /&amp;gt;&lt;BR /&gt; &amp;lt;field id="packageItems" set="items" /&amp;gt;&lt;BR /&gt; &amp;lt;/appearance&amp;gt;&lt;BR /&gt; &amp;lt;/form&amp;gt;&lt;BR /&gt; &amp;lt;/forms&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;config evaluator="task-type" condition="cr:documentReview"&amp;gt;&lt;BR /&gt; &amp;lt;forms&amp;gt;&lt;BR /&gt; &amp;lt;form&amp;gt;&lt;BR /&gt; &amp;lt;field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;show id="cr:reviewerFeedback" /&amp;gt;&lt;BR /&gt; &amp;lt;show id="packageItems" /&amp;gt;&lt;BR /&gt; &amp;lt;show id="cr:submitProperty" /&amp;gt;&lt;BR /&gt; &amp;lt;/field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;appearance&amp;gt;&lt;BR /&gt; &amp;lt;set id="items" appearance="title" label-id="workflow.set.items" /&amp;gt;&lt;BR /&gt; &amp;lt;set id="response" appearance="title" label-id="Submit" /&amp;gt;&lt;BR /&gt; &amp;lt;field id="cr:submitProperty" set="response"&amp;gt;&lt;BR /&gt; &amp;lt;control&lt;BR /&gt; template="/org/alfresco/components/form/controls/workflow/activiti-transitions.ftl" /&amp;gt;&lt;BR /&gt; &amp;lt;/field&amp;gt;&lt;BR /&gt; &amp;lt;field id="packageItems" set="items" /&amp;gt;&lt;BR /&gt; &amp;lt;/appearance&amp;gt;&lt;BR /&gt; &amp;lt;/form&amp;gt;&lt;BR /&gt; &amp;lt;/forms&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;config evaluator="task-type" condition="cr:documentApproval"&amp;gt;&lt;BR /&gt; &amp;lt;forms&amp;gt;&lt;BR /&gt; &amp;lt;form&amp;gt;&lt;BR /&gt; &amp;lt;field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;show id="cr:documentReviewerFeedbackApprpoval" /&amp;gt;&lt;BR /&gt; &amp;lt;show id="packageItems" /&amp;gt;&lt;BR /&gt; &amp;lt;show id="cr:submitProperty" /&amp;gt;&lt;BR /&gt; &amp;lt;/field-visibility&amp;gt;&lt;BR /&gt; &amp;lt;appearance&amp;gt;&lt;BR /&gt; &amp;lt;set id="items" appearance="title" label-id="workflow.set.items" /&amp;gt;&lt;BR /&gt; &amp;lt;set id="response" appearance="title" label-id="Submit" /&amp;gt;&lt;BR /&gt; &amp;lt;field id="cr:submitProperty" set="response"&amp;gt;&lt;BR /&gt; &amp;lt;control&lt;BR /&gt; template="/org/alfresco/components/form/controls/workflow/activiti-transitions.ftl" /&amp;gt;&lt;BR /&gt; &amp;lt;/field&amp;gt;&lt;BR /&gt; &amp;lt;field id="packageItems" set="items" /&amp;gt;&lt;BR /&gt; &amp;lt;/appearance&amp;gt;&lt;BR /&gt; &amp;lt;/form&amp;gt;&lt;BR /&gt; &amp;lt;/forms&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/alfresco-config&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to find solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2019 13:38:27 GMT</pubDate>
    <dc:creator>yash_patel</dc:creator>
    <dc:date>2019-01-10T13:38:27Z</dc:date>
    <item>
      <title>Failed to start workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71926#M23403</link>
      <description>Hi everyone,&amp;nbsp;I am trying to implement simple document approval hierarchy workflow. When I try to start workflow from form it shows this..Log is showing following error..org.springframework.extensions.webscripts.WebScriptException: 00100003 Script url /api/workflow/activiti$DocumentApprovalHierarchy/</description>
      <pubDate>Thu, 10 Jan 2019 13:38:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71926#M23403</guid>
      <dc:creator>yash_patel</dc:creator>
      <dc:date>2019-01-10T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71927#M23404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have checked your code and it is working fine.I am not getting any error.&lt;/P&gt;&lt;P&gt;Workflow is started with&amp;nbsp;&lt;A href="http://localhost:8081/share/page/task-details?taskId=activiti%24start4939&amp;amp;referrer=workflows" style="color: #000000; background-color: #eeeeee; text-decoration: none;" title="Task details" rel="nofollow noopener noreferrer"&gt;Workflow Start Task&lt;/A&gt;&amp;nbsp;and&amp;nbsp; it is directly send to&amp;nbsp;&lt;A href="http://localhost:8081/share/page/task-details?taskId=activiti%244979&amp;amp;referrer=workflows" style="color: #000000; background-color: #ffffff; text-decoration: none;" title="Task details" rel="nofollow noopener noreferrer"&gt;Review Task&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 16:20:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71927#M23404</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2019-01-10T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71928#M23405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using SDK 3.0.1 and All-In-One project. Does it make any issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 16:46:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71928#M23405</guid>
      <dc:creator>yash_patel</dc:creator>
      <dc:date>2019-01-10T16:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71929#M23406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think it make any&amp;nbsp;issue either you use sdk2/sdk3 all-in-one or separate repo and share.&lt;/P&gt;&lt;P&gt;Main thing here is proper way creation of bpmn file and register it,workflow model file and register it and make share configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 04:30:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-start-workflow/m-p/71929#M23406</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2019-01-11T04:30:19Z</dc:date>
    </item>
  </channel>
</rss>

