Invalid target for sequenceflow

Am getting the following error while adding a sub-process . Can anyone suggest what is going wrong here ?

[Validation set: ‘activiti-executable-process’ | Problem: ‘flowable-seq-flow-invalid-target’] : Invalid target for sequenceflow, the target isn’t defined in the same scope as the source -



Most probably, you would have solved the problem or moved on, but still answering if anyone else needs it…I got the similar error and the reason was the arrows were not starting and ending at proper destinations

What do you mean by saying ‘arrows were not starting and ending at proper destinations’ ? I reviewed my process over and over, but found nothing at all.

I had the same issue, and it was caused because I had some duplicated ID’s in my process and subprocess where the arrows point to. Changing the ID of the element solved it.

I had the same issue. The reason being, one of the path of the exclusive gateway was pointing to a sub-process.