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.


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

  • thank you so much. this was really helpfull – Kames Guen Jun 2 '19 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. – candied_orange Jun 2 '19 at 2:59

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, privacy policy and cookie policy

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