3

I have a scheduled operation in my spring boot application using spring boot scheduler. this operation executes every period of time(30 minutes) and adds data in the database if conditions are met. I was wondering how to model this operation in a UML sequence diagram.

2 Answers 2

7

I typically handle things like this with a simple note

enter image description here

It makes the point and doesn't require any fancy symbols.

See also how to show event in a sequence diagram

2
  • thank you so much. this was really helpfull
    – Kames Guen
    Jun 2, 2019 at 2:56
  • @KamesGuen no problem. Also, consider if you need to be more formal with the time. "On the hour and half hour" says the same thing but also says when it will happen. Jun 2, 2019 at 2:59
1

I guess the most appropriate way is to use a loop fragment:

enter image description here

Your Answer

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

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