by mbenson » Tue 20 Feb 2018 20:34
What is the correct way to call a trigger within a Do bahavior? When I attempt it, I get into an infinite recursive loop situation. This appears to occur because when the trigger is called, it first calls _do, which calls the trigger, which calls _do, which calls the trigger, etc... I'm new to BOUML, though I've used other modeling tools for many years. In my opinion, calling a trigger within a state activity is normally a bad idea to begin with. Normally, I would use a transition with a guard condition instead, but I'm having another problem regarding guard conditions (in another thread). Is there a correct way to call triggers from within state activities?