Questions tagged [activity]
The activity tag has no summary.
35 questions
0 votes
0 answers
549 views
Is splitting Android activities/classes into many Kotlin extension functions a good or bad practise?
I have been working on an Android application for some time, and ever since the beginning I've developed a practice of splitting my class's (mostly activity/fragment) code up into multiple files. This ...
-1 votes
1 answer
1k 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 ...
0 votes
1 answer
718 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 ...
-1 votes
1 answer
489 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 ...
-9 votes
1 answer
188 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 ...
1 vote
2 answers
1k 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 ...
2 votes
2 answers
475 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, ...
1 vote
1 answer
3k 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 ...
-1 votes
2 answers
2k 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 ...
1 vote
1 answer
859 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 ...
3 votes
2 answers
7k 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 ...
3 votes
1 answer
1k 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 ...
5 votes
1 answer
3k 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 ...
0 votes
3 answers
281 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
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 ...