Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: How to get return value from an activity diagram
Topic Summary:
Created On: 26-Mar-2007 11:01
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 26-Mar-2007 11:01
User is offline View Users Profile Print this message


Matthias Reisinger

Posts: 1
Joined: 1-Feb-2007

Hello,

I try to get a return value from a activity diagram. The diagram is called by using a Triggered Operation. With a Predefined Action its possible to throw some arguments in it. But now I have trouble to get a return value that is calculated by the activity diagram. I tried to use the CREPLY Action. (CREPLY(ValueToBeReturned)) But there is a Compiler Error (identifier not found)

Can you tell me, how to get it?

Thanks Matthias
Report this to a Moderator Report this to a Moderator
 27-Mar-2007 11:20
User is offline View Users Profile Print this message


Bastian Best

Posts: 3
Joined: 16-Nov-2006

I think I have the solution:

If your activity diagram is linked to an operation, assigning a value to the variable "rpyRetVal" will provide that value as return value of the operation. The variable "rpyRetVal" is automatically generated, you just have to assign a value to it in your diagram.

Try to search for "rpyRetVal" in the Rhapsody Help, it's explained there.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.