Author Topic: BPMN conditions on Sequence flow  (Read 3302 times)

colinc

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
BPMN conditions on Sequence flow
« on: February 13, 2006, 04:20:59 pm »
Morning all,

I have just started been using the BPML model to represent a workflow and am hitting something I'm not sure how to do in EA.

 I would like to apply conditions to sequence flows between activities to simply diagrams rather than using a gateway. These should be represented by a diamon shape in BPMN, but I cannot work out how to specify the condition or change the appearance.

  Is the condition perhaps mapped into a EA guard?

  Is there a correct BPMN (or UML) way to represent the choices made earlier further down in the flow.

For example,
  I have a complex rule to work out if payment is required, this effects flow at a later stage, I can just indicate the condition in a textual form, but I'm wondering if there's a better way.

Thanks, Colin

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: BPMN conditions on Sequence flow
« Reply #1 on: February 13, 2006, 04:34:10 pm »
Colin,

Change the appearance by setting the ConditionType tagged value for the Sequence Flow to "Expression". Use the LinkName rather than the Guard field to enter the expression.

HTH,  

Neil
The Sparx Team
[email protected]

colinc

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN conditions on Sequence flow
« Reply #2 on: February 13, 2006, 04:49:32 pm »
Where do I find the ConditionType tagged value ?

I've tried viewing tags (ctrl-shift-6), then adding a tag called ConditionType and setting this to Expression.  

There was no change in appearance?

Colin

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: BPMN conditions on Sequence flow
« Reply #3 on: February 13, 2006, 05:16:23 pm »
You're looking in the right place, the tagged values should be there. How did you create the sequence flow? If you open its properties dialog, what is the base UML class? (I'm hoping for the answer ControlFlow) and what is the stereotype? (I'm hoping for the answer SequenceFlow). If you go to the resource view, right-click the SequenceFlow tool and select "Synch constraints and tagged values", does that do anything?
The Sparx Team
[email protected]

colinc

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: BPMN conditions on Sequence flow
« Reply #4 on: February 13, 2006, 05:48:40 pm »
Got it, I was using a message flow as this decision point moves the process into a particular pool (should have said that earlier, sorry).  

I believe this is legal, but I'm not certain.

I'll change it to sequence flows instead, it will convey the message happily.

Thanks, Colin