# No matching parent execution for error code followup.email.error found

**URL:** https://forum.flowable.org/t/no-matching-parent-execution-for-error-code-followup-email-error-found/1672
**Category:** Uncategorized
**Created:** [February 20, 2018, 11:19am UTC](https://forum.flowable.org/t/no-matching-parent-execution-for-error-code-followup-email-error-found/1672 "2018-02-20T11:19:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rasmikanta](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rasmikanta](https://forum.flowable.org/u/rasmikanta)
#### Post date: [February 20, 2018, 11:19am UTC](https://forum.flowable.org/t/no-matching-parent-execution-for-error-code-followup-email-error-found/1672/1 "2018-02-20T11:19:58Z")

</div>

While throwing a exception from the execute method of service task, I am getting “No matching parent execution for error code followup.email.error found”. Even though I have defined error handling in the xml and follwing error handling service task.

\<boundaryEvent id=“boundaryerror1” name=“emailBoundaryError” attachedToRef=“emailsubprocess”\>  
\<errorEventDefinition errorRef=“followup.email.error”\>\</errorEventDefinition\>  
\</boundaryEvent\>  
\<sequenceFlow id=“flow76” sourceRef=“boundaryerror1” targetRef=“errorHandlerServiceTask”\>\</sequenceFlow\>

Code Snippet:  
@Override  
public void execute( final DelegateExecution execution ) {  
try {  
//throw exception  
} catch ( final Exception e ) {  
runtimeService.setVariable( execution.getId(), “errorlogging”, e );  
throw new BpmnError( “followup.email.error”, “followup email error detail” );  
}  
}

---

<div class="post-metadata">

### Author: ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)
#### Post date: [February 28, 2018, 8:53am UTC](https://forum.flowable.org/t/no-matching-parent-execution-for-error-code-followup-email-error-found/1672/2 "2018-02-28T08:53:04Z")

</div>

That should work indeed. Can you paste your full process definition? Did you define the error at the process instance level?

---

<div class="post-metadata">

### Author: ![foueml](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@foueml](https://forum.flowable.org/u/foueml)
#### Post date: [May 23, 2024, 11:33am UTC](https://forum.flowable.org/t/no-matching-parent-execution-for-error-code-followup-email-error-found/1672/3 "2024-05-23T11:33:40Z")

</div>

i have the same error , can anyone help
