As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<scriptTask id="scripttask1" name="Submit" scriptFormat="javascript" activiti:autoStoreVariables="true"> <script>execution.setVariable('scwf_approveCount', 0); execution.setVariable('scwf_tpApproved', false);</script> </scriptTask>
<alfresco.version>5.0.d</alfresco.version>
<startEvent id="start" name="Start" activiti:formKey="bpm:startTask"></startEvent>
<startEvent id="startevent1" name="Start" activiti:formKey="scwf:submitReviewTask"></startEvent>
I just discover that the error of the type:
Failed to start workflow activiti$***:1:404.
could append if the script in the fisrt task of a workflow is in error.
In my case the fisrt task add a script of the type ScriptTaskListener with the property event="create", and this script add a typo, whitch result in this error message.