Questions tagged [activity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
511 views

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

This is only an extract from a very long text, the one I'm not sure about. It's about a photo booth (an automata that makes a picture of you if you insert coin). The automata has a camera that is ...
5
votes
5answers
7k views

Representing a “wait until” in an activity diagram in UML

How can I represent a "wait until customer representative is available" in the UML activity diagram below? A solution in UML 1 or UML 2 are both acceptable. Proposal 1 The simple line back to the ...
0
votes
3answers
116 views

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

In an UML activity diagram, join nodes synchronise concurrent flows by regulating the flow of tokens. The UML specifications foresees that tokens can be rejected. Section 15.3.3.4 Join Nodes says: ...
1
vote
1answer
364 views

“join node” and “fork node” for a single branch in UML

Section 15.3.3.3 of UML specification says: Fork Nodes A ForkNode is a ControlNode that splits a flow into multiple concurrent flows. Also 15.3.3.4 says: Join Nodes A JoinNode is a ...
5
votes
1answer
178 views

How “selection behavior” works in UML?

After two hours reading/searching in about examples and usages of selection behavior of object flows, I guess that selects all tokens which satisfy a criteria (like a query) and this can change order ...
0
votes
1answer
88 views

offering multiple tokens at the same time in Activity diagram

UML specification says: If multiple tokens are offered at the same time, then the tokens are offered in the same order as if they had been offered one at a time from the source I want to know "...
1
vote
1answer
321 views

Representing handlers on UML diagrams

This question is a follow-up to Representing multiple actions for sequence of objects on activity diagram, but isn't strictly related. The question boils down to: How to present in UML patterns that ...
1
vote
2answers
602 views

Representing multiple actions for sequence of objects on activity diagram

EDIT: This question led to another, namely Representing handlers on UML diagram. I'm trying to create an Activity Diagram that shows that a collection of objects is handled by a collection of ...
0
votes
1answer
727 views

Android Activitiy and Service Sync

I've looked for the solution of my problem but I've failed in finding a suitable answer. I've been trying to develop an Android application with heavy asyncronous networking capabilities. The problem ...
1
vote
1answer
372 views

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

For example, assume my app has 3 steps with 3 pages: Step 1 : MainActivity: choose color Step 2 : EditTextActivity: input text Step 3 : GreenActivity: display color and input text In ...
8
votes
3answers
11k views

Do activity diagrams always end in one endpoint?

For example an activity diagram for a simple program: Get User data. If User Exists DO something, ELSE do nothing. End. I often see diagrams with multiple endpoints but also with just one. Should ...
0
votes
1answer
358 views

Include exceptions in activity diagrams? [closed]

Should I include exceptions, like a TimeOutException or just general Exceptions, to a activity diagram? For example: A activity diagram describing a client-server connection. Several exceptions can ...
1
vote
1answer
286 views

UML : What is an Activity in an Activity diagram?

I am translating a Use Case diagram step into an Activity Diagram. Does every step of my UC diagram describe an Activity ? Is there one and only one Activity in an Activity Diagram ?
0
votes
0answers
24 views

Polling more recent / active items more frequently

I'm setting up a service that is meant to query, via a rate-limited API, a number of posts in real-time. Now, some of these posts can be several months old, and they should really only be queried, say,...
0
votes
1answer
552 views

Merging user activities into one stream with a common representation

My social network website currently has forum threads and posts gallery pictures albums on the users' profiles group discussions classifieds I would like to create one "stream" of activity. It would ...
1
vote
2answers
4k views

Android Design - Service vs Thread for Networking

I am writing an Android app, finally (yay me) and for this app I need persistant, but user closeable, network sockets (yes, more than one). I decided to try my hand at writing my own version of an ...
1
vote
2answers
3k views

Activity diagram, can merge node have more than 1 output?

There is a simple system, that allows users to do 4 things: ADD, EDIT, DELETE, PRINT data. I am due to model it (I'm entirely new to UML activity diagrams) and from notation, I dont understand ...
2
votes
2answers
7k views

how to express alternative flows in activity diagram

I want to express the below events in an activity diagram: An alternative flow, such as "at step x of basic flow, user clicks cancel instead of ok". An alternative entry to the use case, such as "...
2
votes
0answers
977 views

How to model an optional input to an activity?

I am constructing a UML 2.0 activity diagram. The activity is to evaluate data from a usability study of a prototype. It can optionally end with just getting the user satisfaction results. But if the ...
0
votes
1answer
809 views

Is it good approach to open a keyboard at Actvity start where only one EditTextbox is present [closed]

I am working with Forgot password, where I have single EditTextBox and a single submit button. So whenever I am opening this Forgot password page, my keyboard is opened at the start of this page. In ...
1
vote
0answers
265 views

UML activity diagram: How to end activity after Event Signal Action?

To my knowledge, event signal actions are not allowed to have output control flow, so how can I model the end of an activity after a event signal action? The same issue arises for accept event actions ...
0
votes
1answer
1k views

How to construct UML activity diagram reflecting real programmed source code as docs

Please, tell me the things I must use for modeling an (Enterprise Architect) activity diagram of object1.method1() calls object2.method2() I'm able to dragndrop a method of a class from model tree-...
3
votes
2answers
1k views

Adding more responsibilities to Activities in a flexible way

I am considering how I can add tasks to Android Activities in a flexible way. I can only use implementation inheritance for one thing in Java and I would like to use it, if I use it at all, for ...