Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BPMN Modeler » Several Outgoing Edges
Several Outgoing Edges [message #533874] Mon, 17 May 2010 10:58 Go to next message
Christine  is currently offline Christine
Messages: 3
Registered: May 2010
Junior Member
Hi,

I have an XOR-Gateway in my Diagram with one incoming and two outgoing edges:

<vertices xmi:type="bpmn:Activity" xmi:id="_u3UQwWF6Ed-YKsNjaSTdBQ" iD="_u3UQwGF6Ed-YKsNjaSTdBQ" outgoingEdges="_wCviEWF6Ed-YKsNjaSTdBQ _wZgcQWF6Ed-YKsNjaSTdBQ" incomingEdges="_vng-oWF6Ed-YKsNjaSTdBQ" activityType="GatewayDataBasedExclusive"/>

However, when I try to count the outgoing edges, the result is always 1:
(activity.getOutgoingEdges()).size()

When I look at the SequenceEdge ID on Index 0, I can see the second ID: _wZgcQGF6Ed-YKsNjaSTdBQ
The first ID is not returned. Is it somehow possible to iterate through all outgoing edges?

Thanks,
Christine
Re: Several Outgoing Edges [message #534010 is a reply to message #533874] Mon, 17 May 2010 17:35 Go to previous messageGo to next message
Antoine Toulmé is currently offline Antoine Toulmé
Messages: 31
Registered: July 2009
Member
That's weird.

Can you make sure the first sequence edge exists ? What do you see in the advanced tab of the properties for that task ?

Thanks,

Antoine
Re: Several Outgoing Edges [message #534746 is a reply to message #534010] Thu, 20 May 2010 08:42 Go to previous message
Christine  is currently offline Christine
Messages: 3
Registered: May 2010
Junior Member
Hi Antoine,

You are right, I found both Sequence Flows in the Advanced Tab. I seems that I made a mistake in the transformation by extracting the default flows first .

Thanks,
Christine

Previous Topic:how genrate ID??
Next Topic:BPMN model validation
Goto Forum:
  


Current Time: Thu Oct 23 06:57:19 GMT 2014

Powered by FUDForum. Page generated in 0.01675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software