AnsweredAssumed Answered

org.alfresco.service.cmr.workflow.WorkflowException: 0010000

Question asked by rodrigoa on Jan 10, 2012
Latest reply on Apr 12, 2012 by adrien
Good Morning,

I am not able to run the workflow I am working with. I am getting the below error. "org.alfresco.service.cmr.workflow.WorkflowException: 00100005 Failed to signal transition null from workflow task jbpm$3"."

I appreciate any kind of help. I could not fix it by reading the other topics about the same problem.

Thanks in advance.

I am using the sdk3.4

Below are my codes:

<?xml version="1.0" encoding="UTF-8"?>
<process-definition  xmlns="urn:jbpm.org:jpdl-3.3"  name="capvpwf:validation_procedure">
   <swimlane name="initiator" />
    <swimlane name="reviewer">
        <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
            <actor>#{bpm_assignee}</actor>
        </assignment>
    </swimlane>
   <start-state name="start-state">
      <task name="capvpwf:validProcedureStartTask" swimlane="initiator" />
      <transition to="validation_procedure"></transition>
   </start-state>
   <task-node name="validation_procedure">
      <task name="capvpwf:validProcedureTask" swimlane="reviewer" >
         <event type="task-create">
            <action class="com.lacapitale.workflow.action.LacapitaleTaskStart" />
         </event>
         <event type="task-end">
            <action class="com.lacapitale.workflow.action.LacapitaleTaskEnd" />
         </event>
      </task>
      <event type="node-enter">
         <action class="com.lacapitale.workflow.action.DeplaceProcedureAction" config-type="bean" >
            <site>proceduresRevision</site>
         </action>
      </event>
      <transition to="end-state" name="approuver">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       logger.log("*** approuver ***");
                       var group = people.getGroup('GROUP_NOTIFICATION_PROCEDURES');
                    if (group != null)
                  {
                     for each(user in people.getMembers(group))
                     {
                        logger.log("*** User name: " + user.properties.firstName);
                        logger.log("*** User mail: " + user.properties.email);
                             var mail = actions.create("mail");
                             mail.parameters.to = user.properties.email;
                             mail.execute(bpm_package);
                     }
                  }
              </script>
               </action>
         <action class="com.lacapitale.workflow.action.DeplaceProcedureAction" config-type="bean" >
            <site>proceduresPubliees</site>
         </action>
      </transition>
      <transition to="end-state" name="rejeter">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
           <script>
                 var mail = actions.create("mail");
                 mail.parameters.to = initiator.properties.email;
                 mail.parameters.subject = "" + bpm_workflowDescription;
                 mail.parameters.from = bpm_assignee.properties.email;
                 mail.parameters.text = "Procédure a été REJETÉE";
                 mail.execute(bpm_package);
           </script>
         </action>
         <action class="com.lacapitale.workflow.action.ReplaceProcedureAction" />
      </transition>
   </task-node>
   <end-state name="end-state"></end-state>
</process-definition>


and the log:

10:43:32,978 DEBUG [org.alfresco.repo.jscript.ScriptLogger] json form submission for item:
10:43:32,993 DEBUG [org.alfresco.repo.jscript.ScriptLogger]    kind = workflow
10:43:32,993 DEBUG [org.alfresco.repo.jscript.ScriptLogger]    id = jbpm$capvpwf_validation_procedure
10:43:32,993 DEBUG [org.alfresco.repo.forms.FormServiceImpl] Saving form for item '[workflow]jbpm$capvpwf_validation_procedure': org.alfresco.repo.forms.FormData@1d18c5b (data={assoc_packageItems_removed=org.alfresco.repo.forms.FormData$FieldData@55b487 (name=assoc_packageItems_removed, value=, isFile=false), prop_bpm_comment=org.alfresco.repo.forms.FormData$FieldData@bf1cad (name=prop_bpm_comment, value=teste, isFile=false), assoc_bpm_assignee_added=org.alfresco.repo.forms.FormData$FieldData@f3b6c1 (name=assoc_bpm_assignee_added, value=workspace://SpacesStore/26e938f7-a993-4497-87a1-60ce10def95a, isFile=false), assoc_bpm_assignee_removed=org.alfresco.repo.forms.FormData$FieldData@6346b9 (name=assoc_bpm_assignee_removed, value=, isFile=false), alf_destination=org.alfresco.repo.forms.FormData$FieldData@1b85867 (name=alf_destination, value=workspace://SpacesStore/c16cdf77-3c69-4d1b-b72a-039777f617ac, isFile=false), assoc_packageItems_added=org.alfresco.repo.forms.FormData$FieldData@1b40b7e (name=assoc_packageItems_added, value=workspace://SpacesStore/62f68c43-09d6-495e-8150-5d60a298731d, isFile=false)})
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.node.NodeFormProcessor@723919 (active=true, matchPattern=node) for applicability for item '[workflow]jbpm$capvpwf_validation_procedure', result = false
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.node.TypeFormProcessor@193e050 (active=true, matchPattern=type) for applicability for item '[workflow]jbpm$capvpwf_validation_procedure', result = false
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.workflow.WorkflowFormProcessor@23f1ce (active=true, matchPattern=workflow) for applicability for item '[workflow]jbpm$capvpwf_validation_procedure', result = true
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.FormProcessorRegistry] Returning applicable processor: org.alfresco.repo.forms.processor.workflow.WorkflowFormProcessor@23f1ce (active=true, matchPattern=workflow)
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.FilterRegistry] Returning active filters: []
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.workflow.WorkflowFormProcessor] Ignoring unrecognized field: assoc_packageItems_removed
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.workflow.WorkflowFormProcessor] Ignoring unrecognized field: assoc_bpm_assignee_removed
10:43:32,993 DEBUG [org.alfresco.repo.forms.processor.workflow.WorkflowFormProcessor] Ignoring unrecognized field: alf_destination
10:43:33,103 DEBUG [org.alfresco.repo.jscript.ScriptLogger] org.alfresco.service.cmr.workflow.WorkflowException: 00100005 Failed to signal transition null from workflow task jbpm$3.
10:43:33,103 DEBUG [org.alfresco.repo.jscript.ScriptLogger] Returning 500 status code
10:43:33,103 DEBUG [org.alfresco.repo.jscript.RhinoScriptProcessor] Time to execute script: 128.17865ms

Best Regards.

Outcomes