Book a Demo

Author Topic: Sending and recieving parameterized signals  (Read 2229 times)

Max Widen

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Sending and recieving parameterized signals
« on: July 08, 2015, 08:01:17 pm »
Hello, All!

My activity diagram contains two parallel flows:
  • Flow A periodically generates some random number and throws a signal using action of "SendSignal" kind
  • Flow B listens to signals (using action of "AcceptEvent" kind) and performs some action depending on the random number generated in flow A
When running simulation everything works as a charm, except I can't succeed in passing parameters to signal on SendSignal action and reading these parameters on AcceptEvent action.

Can anyone, please, explain:
  • How to assign values to signal attributes in SendSignal action? (there is an ability to bind input pins of SendSignal to signal attributes, but I suppose it doesn't work as expected)
  • How to read attributes of received signal in AcceptEvent action?
I am using EA 11.1.1113 with Corporate license.

Thank you!