Zurück zu Willert.de

Connecting flowports using a link?

Rhapsody Model or Codegeneration topics

Connecting flowports using a link?

Beitragvon padmaiyenghar » Dezember 5th, 2013, 12:20 am


In the attached sample model (flowPortTest.rar) involving two classes and flow ports, why can't the flow ports be connected using a link? What's wrong/missing?

simple flow port connect
(6.1 KiB) 888-mal heruntergeladen
Beiträge: 3
Registriert: September 28th, 2012, 9:10 am

Re: Connecting flowports using a link?

Beitragvon Skywalker » Dezember 5th, 2013, 12:42 pm

I cannot download and open your model, since I have no installation available on my current machine.
But anyhow, the rules are like that, if you want to link flow ports and use them in generated code:
* the ports need to match (one class has an outgoing, the other class has an incoming flow port, both must use the same data type for the flow port)
* if ports shall be tied to an internal attribute, then a class attribute with the same name and the same data type as used at the flow port must exist.
* links cannot be drawn between flow ports of classes, links only connect flow ports of objects (instances of classes) with each other.

If you follow above rules for flow ports, it should work.

Hope this helps.
May the force be with you ...
Beiträge: 74
Registriert: Oktober 31st, 2007, 5:09 pm
Wohnort: Milkyway, classic 9-planet solar system

Zurück zu Modelling with Rhapsody

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste