Inserting variable in Activity diagram.

Diagramming issues

Moderator: Moderators

Inserting variable in Activity diagram.

Postby amit.kalhapure@gmail.com » Tue Jan 05, 2021 8:10 am

Hello,

I want to make a simple activity diagram where I want to insert a variable called 'RPM'.
The activity diagram is such that RPM=0 ->RPM=RPM+100->Is RPM<1000? OR Is RPM>1000?.........
In this case I am unable to define RPM as a variable.I used "opaque action" but it doesn't take RPM as a value.
Kindly help.

Thanks & Regards,
Amit.
amit.kalhapure@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 19
Posts Rating:0
Joined: Sun Aug 30, 2020 12:24 am

Re: Inserting variable in Activity diagram.

Postby saulius_p » Tue Jan 05, 2021 8:31 am

Hello Amit,

Add RMP value property into Block and create activity inside of the block. Execute it in context of the block i.e. run the block and block will execute activity as main behavior automatically. See sample and screenshot attached.

RPM.JPG


Sincerely,
Saulius
You do not have the required permissions to view the files attached to this post.
Best regards,
Saulius Pavalkis
User avatar
saulius_p
No Magic
No Magic
 
Posts: 292
Posts Rating:12
Joined: Fri Dec 04, 2009 5:37 am
Full name: Saulius Pavalkis

Re: Inserting variable in Activity diagram.

Postby b.erestnevao27@gmail.com » Sat May 08, 2021 1:21 am

saulius_p wrote:Hello Amit,

Add RMP value property into Block and create activity inside of the block. Execute it in context of the block i.e. run the block and block will execute activity as main behavior automatically. See sample and screenshot attached.

RPM.JPG


Sincerely,
Saulius


I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.



IndigoCard Login
b.erestnevao27@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Sat May 08, 2021 1:20 am

Re: Inserting variable in Activity diagram.

Postby holola589@gmail.com » Thu Jun 10, 2021 3:58 am

I don't know what problems I have, I can't output the graph while there is no error in the program code
holola589@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:0
Joined: Thu Jun 10, 2021 3:48 am


Return to Diagramming

Who is online

Users browsing this forum: No registered users and 4 guests