Author Topic: BPMN: Invalid Target for the Message flow.  (Read 18427 times)

Frederic

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
BPMN: Invalid Target for the Message flow.
« on: March 01, 2018, 05:23:19 pm »
Hi,
I'm getting the following warning message : BPMN: Invalid Target for the Message flow.

I am simply trying to have a message flow
from a pool
to an intermediate boundary event (of type message) on an activity in another pool.
I think this is valid BPMN?

I'll try to attach some screenshots.


« Last Edit: March 01, 2018, 05:37:56 pm by Frederic »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13401
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: BPMN: Invalid Target for the Message flow.
« Reply #1 on: March 01, 2018, 06:06:38 pm »
Have you tried first creating the event and then connecting it with a message flow?

Geert

Arshad

  • EA User
  • **
  • Posts: 286
  • Karma: +20/-1
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #2 on: March 01, 2018, 06:29:31 pm »
Hi Frederic

It will work if you created Message flow connector from Edge mounted event to pool .
If you tried the other way from pool to edge mounted event it wont work.

So As geert suggested create the edge mounted event first and the try creating message flow connector from edge mounted intermediate event to pool

Arshad
« Last Edit: March 01, 2018, 06:31:42 pm by Arshad »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13401
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: BPMN: Invalid Target for the Message flow.
« Reply #3 on: March 01, 2018, 06:42:49 pm »
Hi Frederic

It will work if you created Message flow connector from Edge mounted event to pool .
If you tried the other way from pool to edge mounted event it wont work.

So As geert suggested create the edge mounted event first and the try creating message flow connector from edge mounted intermediate event to pool

Arshad

You can't just reverse the direction, that would mean something completely different.

In my tests it works perfectly fine if the intermediate event (edge mounted or not) is of type Message (catching or throwing doesn't seem to matter)
But you need to create the intermediate event first because otherwise it will fail because the type is not yet set to Message

Geert

Arshad

  • EA User
  • **
  • Posts: 286
  • Karma: +20/-1
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #4 on: March 01, 2018, 07:17:52 pm »

You can't just reverse the direction, that would mean something completely different.
Yes i know that.

But you need to create the intermediate event first because otherwise it will fail because the type is not yet set to Message

Even after creating edge mounted event first ,its not allow to create message flow connector from pool to edge mounted event.Only from edge mounted event to pool its getting created.

Arshad

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13401
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: BPMN: Invalid Target for the Message flow.
« Reply #5 on: March 01, 2018, 07:33:56 pm »

Even after creating edge mounted event first ,its not allow to create message flow connector from pool to edge mounted event.

I did just that, without a problem. Don't know why it is not working for you.

Geert

llsempro

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #6 on: March 02, 2018, 02:21:36 am »
Make sure that you are connecting to a pool, and not a swimlane, and make sure your event is actually a message type.  I get the error message if I try to draw a message flow from a signal event, or other event type, but not a message flow.  Hope those tips help. 

VKN

  • EA User
  • **
  • Posts: 187
  • Karma: +9/-1
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #7 on: March 02, 2018, 11:04:43 am »
I suspect that Frederic is using an old version of EA which may have that bug.
You can try downloading latest (trial) version and then try again.

Frederic

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #8 on: March 02, 2018, 12:09:12 pm »
The version I am using is 13.0.1310.. assume this one has the bug ?
I did indeed try already creating the event first as suggested...(intermediate event is of type message). I do connect from the pool, not the swimlane.
So I may have to upgrade to the latest version. Will give that at try.

Thanks all for you quick answers.

Kind regards,
Frederic

Frederic

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #9 on: March 08, 2018, 02:04:35 pm »
So I upgraded from 13.0 to 13.5 and I am still getting the same issues.
When using a stand-alone event in an activity I can send a message flow from a pool to it.
However if I make the event edge-mounted (of type message) I can't send a message flow to it the only options I get are : trace, dependency and information flow.

Why can't I do a message flow ?
« Last Edit: March 08, 2018, 05:02:14 pm by Frederic »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #10 on: March 08, 2018, 02:23:50 pm »
Is the target an Intermediate Event? I get the same message as you if the target is either a Start Event or an End Event.
The Sparx Team
[email protected]

Frederic

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #11 on: March 08, 2018, 05:01:41 pm »
Yes it is an intermediate event, cf screenshots on initial post.

Frederic

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: BPMN: Invalid Target for the Message flow.
« Reply #12 on: March 14, 2018, 12:14:51 pm »
So anyone who has this working ?
See image of what I'm trying (instead of a flow, I want a message flow):