Book a Demo

Author Topic: Best representation for unordered tasks?  (Read 13258 times)

snowbird

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Best representation for unordered tasks?
« on: June 18, 2014, 10:09:07 pm »
I have a UI where the user has to select a data set and then a number of configuration options / settings. However, there is no particular order to this. So, he can chose the configuration first and the data set afterwards or vice versa.

What is the best way in BPMN 2.0 to represent this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Best representation for unordered tasks?
« Reply #1 on: June 18, 2014, 10:41:00 pm »
I'd fork into (semi) concurrent actions and join afterwords. This way it is independent in which order the actions are performed but you need to perform both.

q.

Jacob Vos

  • EA User
  • **
  • Posts: 108
  • Karma: +0/-0
    • View Profile
Re: Best representation for unordered tasks?
« Reply #2 on: June 19, 2014, 12:11:41 am »
What I understand, is that both selecting the data set as well as indicating values for a number of options are mandatory.

In BPMN you can model this by starting with a gateway of type 'Parallel', have two outgoing sequence flows, one to 'Select data set' and the other to 'Set options'. Each of those activities will have an outgoing sequence flow to (the merging) gateway of type 'Parallel'.

Formally (conform BPMN specs), the process will wait at the second gateway until both activities have been finished.

- Jacob

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Best representation for unordered tasks?
« Reply #3 on: June 19, 2014, 07:21:37 am »
BPMN 2.0 has a direct notation for unordered tasks

It is an[highlight] Ad-Hoc [/highlight]activity

1) Create an Activity
2) Set the BPMN 2.0 tag value adHoc to true
3) Set the BPMN 2.0 tag value adHocOrdering to sequential or parallel (to indicate how the tasks are conduced)
3) Add your unordered tasks inside the Activity without sequence flows between them

Hope this helps
Models are great!
Correct models are even greater!