commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fasih" <fasihullah.ask...@baypackets.com>
Subject [SCXML] Parallel States
Date Mon, 08 May 2006 00:54:37 GMT
Hello ppl
I am trying to create a state with external source, but stargely enough, the state machine
enters the state "automatically". my xml:
<scxml
  xmlns="http://www.w3.org/2005/07/SCXML"
  initialstate="setup-call">
    <state id="setup-call">
        <parallel id="ivr-interaction">
          <state id="orig-leg"/>
          <state id="ivr-leg">
            <initial>
              <transition target="external-ivr"/>
            </initial>
            <state id="external-ivr" src="external-hello.scxml"/>
          </state>
        </parallel>
    </state>
    <state id="hungup" src="external-hello.scxml"/>
</scxml>

external-hello.scxml
<scxml
  xmlns="http://www.w3.org/2005/07/SCXML"
  version="1.0"
  initialstate="wait-for-ivr-request">
  <state id="wait-for-ivr-request"/>
</scxml>


Results in:
[main] WARN org.apache.commons.scxml.env.SimpleErrorReporter - ILLEGAL_CONFIG (Not all AND
states active for parallel ivr-interaction): /setup-call/ivr-interaction : [/setup-call/ivr-interaction/orig-leg]
[main] WARN org.apache.commons.scxml.env.SimpleErrorReporter - ILLEGAL_CONFIG (Multiple top-level
OR states active!): <SCXML> : [/setup-call, /hungup]

Any clues as to what is wrong in this????

Any help greatly appreciated

+Fasih




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message