![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.