I am attempting to partition a decision node based on environment attributes. The process I am modeling is slightly different depending if a variable scope is public or private.

I am trying to associate the related Map Variables action in the Pipeline partition but cannot determine the best way to model this. Should I use a fork node only for this specific action or instead add the action for both decision flows into the existing Pipeline partition?

enter image description here

  • You want to use object nodes instead. Your decision is not a hexagon but a diamond shaped element (so not correct UML). – qwerty_so Jan 9 at 22:47
  • 1
    It looks OK to me. If you want to use swimlanes (it's ugly) have a look at planttext.com/… – Fuhrmanator Jan 10 at 6:05
  • By the way, I got back the PlantUML source from your imgur PNG using exif.regex.info/exif.cgi – Fuhrmanator Jan 10 at 6:07
  • @qwerty_so PlantUML puts the decision in the diamond making it a hexagon. – Fuhrmanator Jan 10 at 6:13
  • @Fuhrmanator I thought so (seen that in another question). Doesn't make it right, though. – qwerty_so Jan 10 at 8:25

Rather than swim lanes (which are purely graphical annotations) you would use Partitions which are concrete UML elements. You can classify these partitions (e.g. with components representing the environment in question).

enter image description here

Further I suggest to use Pins and an ObjectFlow where objects (like the YAML) are sent along actions.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.