IBM Support

Attempts to synchronize a join sync bar with a transitions from another state results in unexpected behavior

Troubleshooting


Problem

Attempts to connect a transition without guard condition to a join sync bar from a state which has another transition with guard condition, results in unexpected behaviour such that the join sync bar does not synchronize with a transition from another state in IBM Rational Rhapsody.

Symptom

In this model, when state A has a transition which has guard condition, and two other transitions without guard condition from state A and C connect to a join sync bar, the join sync bar transits to state end without waiting for a transition from state C in this model.


Expected result: The join sync bar synchronize with transitions from state A and C.

    Actual result: The join sync bar does not wait for a transition from state C.

    Cause

    This issue was identified as a product defect and logged under APAR PM58958.

    Resolving The Problem

    WORKAROUNDS:

    These examples were created by IBM Rational Rhapsody for C.

    Option #1: Use a dummy event

    1. Set a dummy event to trigger field

      For example:



    2. Generate the dummy event in Action on entry of state A


    Option #2: Create a sub state

    1. Create sub state on the composite state


      Created sub state

    [{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Rational Rhapsody Developer","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1;7.6.1.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

    Product Synonym

    Rational Rhapsody

    Document Information

    Modified date:
    27 May 2022

    UID

    swg21597448