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


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
    – LeoG
    Commented 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. Commented Jun 2, 2019 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 and acknowledge you have read our privacy policy.

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