3

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

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

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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