Questions tagged [activity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
65 views

Drawing UML Activity Diagram - Fetching data decision logic

I have a function to fetch data from remote API and store it in local database. Its logic is: Is network available, if yes proceed to next step, if no show error massage. Is app launched for first ...
user avatar
-1 votes
1 answer
83 views

BPMN recurring activities

How can I model a supporting recurring activity for a process? A more general example is how to model waiting for customer actions while performing follow-up actions. We have a process where we send a ...
user avatar
  • 127
-1 votes
1 answer
135 views

Activity Diagram Feedback

I need some consultation on the correctness of the activity diagram, that I have created for the following scene: I have one dictionary structure, that I want to compare to other dictionaries. for the ...
user avatar
  • 107
-8 votes
1 answer
105 views

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

I've been looking at this for a long time: https://news-web.php.net/ Almost every single mailing list has the last messages sent to them in the year 2000-2003. That's 17-20 years ago! It would be an ...
user avatar
1 vote
2 answers
347 views

How to break asynchronous loop in the activity diagram from UML

I have an activity diagram below. I want to know if that kind of loop is correct. Is that "Waiting for the actor to stop listening to the music" a correct way to end the whole use case with that kind ...
user avatar
2 votes
2 answers
156 views

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

I want to have a control flow decide whether an object can pass through a point in a flow or not. From my understanding of control and object flows, this would not work in the way I have done it, ...
user avatar
  • 41
0 votes
1 answer
867 views

Select one from multiple options in UML activity diagram

I am very new to UML and UML activity diagrams. my question is suppose in a student course registration system after student successfully login to the system there are 3 options add course, delete ...
user avatar
  • 123
-1 votes
2 answers
558 views

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

In a SyML/UML activity diagram, how do you implement an OR gate ? There immediately came to mind to use a merge node. But does a merge node always have to come after a decision node? Also, I have ...
user avatar
1 vote
1 answer
122 views

Fork and Join in Activity Diagram

Consider the following Activity Diagram : First of all the activity a22 is confusing me through this configuration .If we need to list all the possible activity sequences that can take place in this ...
user avatar
2 votes
2 answers
3k views

What is the difference of swimlane and activity diagram?

Im trying to make an activity diagram , but i see that activity and swimlane diagram is almost the same, the only difference i see that swimlane diagram include many actor in it i wonder about the ...
user avatar
3 votes
1 answer
671 views

initial and final state in activity diagram

As we know , initial state is the initial state of the system before the activity begins and the final state is the final state of the system when the activity ends. But what exactly is the initial ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar
  • 285
0 votes
3 answers
172 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: ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
5 votes
1 answer
290 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 ...
user avatar
0 votes
1 answer
162 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 "...
user avatar
1 vote
1 answer
850 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 ...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
1 vote
1 answer
673 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 ...
user avatar
  • 5,647
9 votes
5 answers
18k 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 ...
user avatar
0 votes
1 answer
803 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 ...
user avatar
0 votes
1 answer
677 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 ...
user avatar
1 vote
1 answer
318 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 ?
user avatar
0 votes
0 answers
29 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,...
user avatar
0 votes
1 answer
665 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 ...
user avatar
  • 103
3 votes
0 answers
1k 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 ...
user avatar
  • 211
0 votes
1 answer
861 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 ...
user avatar
1 vote
2 answers
5k 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 ...
user avatar
  • 113
1 vote
0 answers
273 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 ...
user avatar
  • 851
8 votes
3 answers
15k 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 ...
user avatar
  • 133
1 vote
2 answers
4k 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 ...
user avatar
  • 133
0 votes
1 answer
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-...
user avatar
4 votes
2 answers
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 ...
user avatar
  • 93
2 votes
2 answers
8k 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 "...
user avatar
  • 205