IBM Support

Flowports only show data flow when data value is changed

Troubleshooting


Problem

The model consists of two classes with flow ports describing the data flow:
image-20200227143143-1
Data is sent via the flow port by using the mutator API, provided by the auto-generated Rhapsody code:
image-20200227143207-3
During animation, it is observed that the data value is only sent when the value is changed:
image-20200227143222-4

Resolving The Problem

Set the following properties to "always" on your flow ports:
CPP_CG::flowPort::InvokeRelay
CPP_CG::flowPort::ReceiveRelay
 
image-20200227143853-7

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

ibm13608937