cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid destination? Why?

mhw
Champ in-the-making
Champ in-the-making
Hi,

I am stuck at a process definition. It validates according to BPMN 2.0 Spec with activiti extensions. I get the following error:
13.10.2011 08:13:07 com.bigcompany.wfe.WorkflowEngine deployResources
SCHWERWIEGEND: Deployment failure: org.activiti.engine.ActivitiException: Invalid destination 'id_9_ERFOLGREICH' of sequence flow 'flow_id_11_VAR_DIA_TEXT' | FT_ENGINE_ADAP_EKP.bpmn20.xml | line 242 | column 111
Invalid destination 'id_9_ERFOLGREICH' of sequence flow 'flow_id_12_VAR_DIA_TEXT' | FT_ENGINE_ADAP_EKP.bpmn20.xml | line
250 | column 111

   at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
How can I find out why the destination is "invalid"? What are the possibilities to throw an error like this?

Best regards,

Michael
2 REPLIES 2

mhw
Champ in-the-making
Champ in-the-making
… if I look at the sources in BpmnParse.java line 2103 the "destinationActivity" must be null. That seems strange to me since definition exists:
  <serviceTask id="id_9_ERFOLGREICH" name="ERFOLGREICH" activiti:class="com.bigcompany.wfe.activiti.delegate.DialogDelegate">
      <extensionElements>
   
   
   
    <activiti:field name="DataBinding_dialogProperty_href">
          <activiti:string>platform:/plugin/com.bigcompany.bdx.workflow.designer.diagram.custom/library/DialogLibrary.workflow#_LMkd8Mg2Ed21EsAhTrf4tQ</activiti:string>
        </activiti:field>
        <activiti:field name="DataBinding_dialogProperty_expression">
          <activiti:string>DIALOG.ERFOLGREICH.InfoBox.StatusLine.TEXT."VAR.DIA_TEXT.Value"</activiti:string>
        </activiti:field>
   
    <activiti:field name="visible_DialogElement_name__L9BrECpNEd6BTe1FjbbqkA">
          <activiti:string>icon</activiti:string>
        </activiti:field>
        <activiti:field name="visible_DialogElement_DialogProperty_name__L9BrECpNEd6BTe1FjbbqkA">
          <activiti:string>dialog_status.JPG</activiti:string>
        </activiti:field>
        <activiti:field name="visible_DialogElement_DialogProperty_type__L9BrECpNEd6BTe1FjbbqkA">
          <activiti:string>workflowSmiley Very HappyialogProperty</activiti:string>
        </activiti:field>
    <activiti:field name="visible_DialogElement_name__L9BrFCpNEd6BTe1FjbbqkA">
          <activiti:string>InfoBox</activiti:string>
        </activiti:field>
        <activiti:field name="visible_DialogElement_DialogProperty_name__L9BrFCpNEd6BTe1FjbbqkA">
          <activiti:string>StatusLine</activiti:string>
        </activiti:field>
        <activiti:field name="visible_DialogElement_DialogProperty_type__L9BrFCpNEd6BTe1FjbbqkA">
          <activiti:string>workflowSmiley Very HappyialogProperty</activiti:string>
        </activiti:field>
  </extensionElements>
    </serviceTask>

mhw
Champ in-the-making
Champ in-the-making
.. ok, sorry, figured it out: the service task was outside a subProcess where the sourceRef resides. Therefore unreachable. And of course BpmnParse cannot know this at this point.