Topic
1 reply Latest Post - ‏2012-08-23T09:47:52Z by MattiasMohlin
2JPG_mar_gula
2JPG_mar_gula
1 Post
ACCEPTED ANSWER

Pinned topic Simulation Toolkit - problem with UAL and OCL

‏2012-08-20T14:41:08Z |
 I have problem a few problems during simulation in RSA 8.0.4.

-with UAL condition . When I put condition in UAL in opt combinded fragment (see attachment testowy1/Diagrams/BlankPackage/SequenceDiagrams/Collaboration5) 5 + 2 == 2 during execution it still ask me if this combined fragment should execute despite this condition.

-with OCL condition. When I try to write some OCL condition it underlined it and said that it contains errors. I would be grateful for any example with condition in OCL in activity or sequnce diagram!

I can send you my project testowy1 via email: biesczadka@tlen.pl or I'll be grateful for any working example!
Updated on 2012-08-23T09:47:52Z at 2012-08-23T09:47:52Z by MattiasMohlin
  • MattiasMohlin
    MattiasMohlin
    1 Post
    ACCEPTED ANSWER

    Re: Simulation Toolkit - problem with UAL and OCL

    ‏2012-08-23T09:47:52Z  in response to 2JPG_mar_gula
     
     Currently simulation has very limited support for action language usage. This is in particular true for sequence diagrams. In most cases dialogs will popup to let the user interactively decide the path to take in the simulation session.
    For the constructs where the simulation does take action language code snippets into account, only the Java subset of UAL is currently supported. 
    You can find some documents that describe how model simulation work at the RSA wiki (section Model Simulation).