Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Hi
      I am trying to send an event "connection.connected" to the state-machine which
      is in a parallel state. Look at the logs (Removed unnecessary statements), note
      the thread name at the beginning and the final transitions.

      [CALLBACK.4] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
      [CALLBACK.4] Firing

      {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint: orig-line[100]}

      [CALLBACK.5] Firing

      {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.IVREndPoint: ivr-line[msml]}

      [CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
      'ivr-line', from =
      /setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
      /setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
      [CALLBACK.4] Current States: [wait-for-orig-connect, ivr-connected]
      [CALLBACK.5] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
      [DATAI.0] Current States: [wait-for-orig-connect, wait-for-ivr-connect]

      Three problems:
      1. The last three lines above: the change that CALLBACK.4 did is overridden by
      CALLBACK.5.
      2. Callback 4 has a payload of type:orig-line,
      [CALLBACK.4] Firing

      {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint: orig-line[100]}

      But
      [CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
      'ivr-line', from =
      /setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
      /setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
      it thinks that it has an 'ivr-line'???
      3. Where did the orig line disappear??

        Activity

        Rahul Akolkar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Rahul Akolkar made changes -
        Fix Version/s 0.5 [ 12312006 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Alpha [ 12311770 ]
        Henri Yandell made changes -
        Affects Version/s 1.0 Alpha [ 12311665 ]
        Project Commons [ 12310458 ] Commons SCXML [ 12310492 ]
        Component/s SCXML [ 12311132 ]
        Key COM-2904 SCXML-2
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 39434 12343056
        Hide
        Rahul Akolkar added a comment -

        This is documented in the FAQ, and is currently not high priority (on my
        list), since there are one or two methods that do most of the work for the
        executor and they can be synchronized externally without much effort.

        http://jakarta.apache.org/commons/scxml/faq.html (see in SCXMLExecutor section)

        However, it is an authoring convenience so this will likely be looked into
        after the first release, hence marking as LATER. If you want, feel free to
        attach a test case that we can work with when we look at this, since you
        probably have one already. Thanks.

        Show
        Rahul Akolkar added a comment - This is documented in the FAQ, and is currently not high priority (on my list), since there are one or two methods that do most of the work for the executor and they can be synchronized externally without much effort. http://jakarta.apache.org/commons/scxml/faq.html (see in SCXMLExecutor section) However, it is an authoring convenience so this will likely be looked into after the first release, hence marking as LATER. If you want, feel free to attach a test case that we can work with when we look at this, since you probably have one already. Thanks.
        Fasihullah created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Fasihullah
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development