Triggered operation in Rhapsody has no effect
Triggered operation in Rhapsody has no effect
17.07.2008 15:21
I call a triggered operation, but nothing happens. I get no error message, and the next operation is called. What is the problem.?
Re: Triggered operation in Rhapsody has no effect
17.07.2008 15:22
Triggered operations don't behave like normal primitive operations. Triggered operations can be used like events in statecharts to be a trigger of a transition.
Triggered operation in Rhapsody has no effect
10.10.2008 08:50
I have a trggert operation in a small statechart (2 states). In action I call a simple function. After some hours the function in action won't be called, but the triggert operation is called. That means, that the statechart did not work!
What is the problem?
Re: Triggered operation in Rhapsody has no effect
10.10.2008 09:56
Hi
how do you create the class/object with the statechart ? If you use the <Class>_Create function you had to call the function <Class>_startBehavior to start the behavior of the statechart.
Re: Triggered operation in Rhapsody has no effect
10.10.2008 10:07
I use the _Create and also the _startBehavior function. The statechart works fine for a limited time.
Re: Triggered operation in Rhapsody has no effect
10.10.2008 11:33
I have added a simple model showing how triggered operations work.
In this model you can see that the object Tester has a triggered operation and wait for it
Class CallTrig has also a statechart and call the triggered operation. Open the animated sequence diagram "trace" you will see that all functions are called as expected during execution.
If this not help: please send a little model showing your problem to our support.
