Author Topic: Call Operation Action not working  (Read 16039 times)

EAButNotForGames

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Call Operation Action not working
« 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?
« Last Edit: April 03, 2024, 09:22:44 pm by EAButNotForGames »

freezepour

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Call Operation Action not working
« Reply #1 on: April 09, 2024, 12:22:20 pm »
Try this :
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.
« Last Edit: April 10, 2024, 11:29:44 am by freezepour »