Skip to main content
14 votes

Representing a "wait until" in an activity diagram in UML

IMHO, there is actually no need to include any conditional or "loop" for the "wait" state at all: Any activity needs a certain time until it is completed. If a customer representative is available ...
Doc Brown's user avatar
  • 210k
7 votes
Accepted

How do you correctly turn this text into an activity diagram (problem with timer)?

Problem Your diagram has several flaws. For instance, you'd need a join to synchronize the camera recording and the timer. But then, the semantic would mean that both activities must be finished ...
Christophe's user avatar
  • 78.7k
7 votes

Representing a "wait until" in an activity diagram in UML

Are your diagrams ok ? The guard on a decision node shall be placed on the tail of the line and not on the nodes (see UML 2.5 section 15.2.4). So [free customer representative available] on the top ...
Christophe's user avatar
  • 78.7k
3 votes
Accepted

Activity Diagram Feedback

One problem is the use of ellipses (dot dot dot) at the end, which are not legal notation for such a diagram. The diagram shown above can get stuck in an infinite loop in the first three nodes, never ...
Mr. Lynch's user avatar
3 votes

Are the stone-dead PHP mailing lists really how PHP developers and the PHP community communicate?

As it says on the top of the page [bold emphasis mine]: This is a completely experimental interface to the PHP mailing lists as reflected on the news-web.php.net NNTP server So, this is not showing ...
Jörg W Mittag's user avatar
3 votes
Accepted

Drawing UML Activity Diagram - Fetching data decision logic

In a flow chart, it's a common practice to ask a question in a box and draw a decision node below of it, with the answers to the question as branch. But an UML activity diagram is not a flow chart. ...
Christophe's user avatar
  • 78.7k
3 votes
Accepted

What is the difference of swimlane and activity diagram?

An activity diagram is a specific UML diagram which can optionally contain swim lanes, but not mandatory. In this sense, an activity diagram can be a swimlane diagram. The term swimlane diagram is ...
Doc Brown's user avatar
  • 210k
3 votes

What is the difference of swimlane and activity diagram?

Activity diagrams can use partitions to group actions that share some characteristics. These partitions may graphically be represented as a swimlane (they can also be representend textually). If you ...
Christophe's user avatar
  • 78.7k
3 votes

initial and final state in activity diagram

In short The activity diagram models flows of control and flows of objects. There is no initial or final state in such diagrams. But there are initial nodes that shows where the flow starts when ...
Christophe's user avatar
  • 78.7k
2 votes
Accepted

Representing multiple actions for sequence of objects on activity diagram

While your question is a very specific one it actually winds down to a question how to represent a loop using an activity diagram. I strongly recommend checking this answer. In your case I guess the ...
Ister's user avatar
  • 849
2 votes

Representing multiple actions for sequence of objects on activity diagram

I haven't seen anyone use an activity diagram (aka flow chart) for source code, professionally, for decades but if someone is insisting, it would look something like this:
candied_orange's user avatar
2 votes

Should I replace switch case of functions determined by options in previous activity?

By factoring out the duplicated code first, you can come to a completely different solution. If I take the first version (with switch) and refactor the duplicated code, you end up with something like ...
Bart van Ingen Schenau's user avatar
2 votes

Representing a "wait until" in an activity diagram in UML

If you use swim-lanes, I think you don't need any wait mechanism. It's implied that the Customer Representative has to be ready to do the task. Here's a suggestion done with PlantUML/PlantText: ...
Fuhrmanator's user avatar
  • 1,445
2 votes
Accepted

In which case will a token from an activity join node be rejected?

The quote mentions not just rejected but rejected for traversal over the edge. This corresponds to the case that a token is not allowed to go through an edge, and not to the case where a target may ...
Christophe's user avatar
  • 78.7k
2 votes
Accepted

"join node" and "fork node" for a single branch in UML

In short You have understood correctly. In long Analysis of the standard 15.3.3.3 says it very clearly: A ForkNode is a ControlNode that splits a flow into multiple concurrent flows. A ...
Christophe's user avatar
  • 78.7k
2 votes
Accepted

How "selection behavior" works in UML?

The «selection» introduces a semantic that allows to restricts the tokens of the ObjectFlow or change their order. So the specification shall be read, having both cases in mind. The standard shows ...
Christophe's user avatar
  • 78.7k
2 votes
Accepted

Select one from multiple options in UML activity diagram

In an activity diagram, if there is a decision which could lead to three different flows, you should use a decision node with guards. This means that only one path is chosen. The three paths would ...
Christophe's user avatar
  • 78.7k
1 vote

BPMN recurring activities

You would typically use timing events in BPMN, be it interrupting or non-interrupting events. These events could: either trigger recurring activities that are not related to any concrete process ...
Christophe's user avatar
  • 78.7k
1 vote

How to break asynchronous loop in the activity diagram from UML

You might want to consider whether you would be better served with a state chart (the diagram for a UML state machine). There is a lot of overlap and often a use case can be expressed either way. In ...
David Hetherington's user avatar
1 vote
Accepted

What is the best way to trigger on object flow with a control flow in an UML activity diagram?

In both cases, the outgoing edge of a JoinNode is an ObjectFlow, not "something undefined". According to UML specifications clause 15.3.3.4 Join Nodes: If any of the incoming edges of a JoinNode ...
zer0hedge's user avatar
  • 162
1 vote

SyML/UML Activity diagram: how to model an OR gate

The question is tricky, because an or-gate processes two concurrent input signals to produce one output signal. But in the activity diagram you manage control or object flows: the semantic is ...
Christophe's user avatar
  • 78.7k
1 vote

Representing a "wait until" in an activity diagram in UML

Having a "wait" state, or wait activity, is not implausible, and depending on the domain, not uncommon either. Mark it as such and defined how long the state will be active for (i.e. how long it it ...
Niall's user avatar
  • 1,841
1 vote

Android Activitiy and Service Sync

To keep the service always alive even the activity has been closed, you have the start the service as foreground. That leaves a notification on top. Now bind your service to your activity when the ...
Sujith Niraikulathan's user avatar
1 vote
Accepted

offering multiple tokens at the same time in Activity diagram

What is it about ? The quote is from section 15.2.3.3, which explains that there are two kind of activity edges. More precisely, it is about ObjectFlow edges. These passes objects as tokens. One of ...
Christophe's user avatar
  • 78.7k
1 vote
Accepted

Representing handlers on UML diagrams

I don't think there's a general answer to your question. You have to take the cases one-by-one, since the devil is in the details. This means that during execution data will be passed first to ...
Fuhrmanator's user avatar
  • 1,445

Only top scored, non community-wiki answers of a minimum length are eligible