Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: EAButNotForGames on April 03, 2024, 05:02:58 pm

Title: Call Operation Action not working
Post by: EAButNotForGames on April 03, 2024, 05:02:58 pm
I am currently trying to access an operation with a state machine.
For some reason my state machine can't access it directly: "sim.operation is not a function"
So the next best thing is, to create an activity diagram with a CallOperation, which then is used by the state machine.
My problem is:
As soon as the Activity Diagram reaches the CallOperationAction, it stops and doesn't go any further.
So I checked the EA Example
Same thing.
All Activity Diagrams, which have CallOperationActions are not working, unless you run the interaction "int setupUSB()" from the package Systems Engineering -> Software -> C++

Does anyone else have this problem and/or knows a solution?
Title: Re: Call Operation Action not working
Post by: freezepour on April 09, 2024, 12:22:20 pm
Try this :
basket random (https://basketrandom.io)
1. Open the diagram properties for the diagram that includes the items to be reported on.
2. From the left-hand tree, choose Diagram.
3. Check the checkbox labeled. Add each included element to Documentation.
4. Close the Diagram Properties.