Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 54173 invoked from network); 2 Apr 2009 21:08:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 21:08:11 -0000 Received: (qmail 34020 invoked by uid 500); 2 Apr 2009 21:08:09 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 33914 invoked by uid 500); 2 Apr 2009 21:08:09 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 33904 invoked by uid 99); 2 Apr 2009 21:08:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 21:08:09 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [151.190.254.13] (HELO edge.itt.com) (151.190.254.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 21:07:59 +0000 Received: from fwexhub4.itt.net (10.32.76.114) by edge.itt.com (10.32.16.13) with Microsoft SMTP Server (TLS) id 8.1.340.0; Thu, 2 Apr 2009 17:07:49 -0400 Received: from RSVNExch-Hub02.gilfillan.de.ittind.com (10.33.168.77) by fwexhub4.itt.net (10.32.76.114) with Microsoft SMTP Server (TLS) id 8.1.340.0; Thu, 2 Apr 2009 17:07:37 -0400 Received: from RSVNMail.gilfillan.de.ittind.com ([fe80::3432:cc4f:959f:71fb]) by RSVNExch-Hub02.gilfillan.de.ittind.com ([::1]) with mapi; Thu, 2 Apr 2009 14:07:36 -0700 From: "Ouyang, Landon - ES/RDR -Gil" To: Commons Users List Date: Thu, 2 Apr 2009 14:07:33 -0700 Subject: RE: [SCXML] getting set datats in the datamodel Thread-Topic: [SCXML] getting set datats in the datamodel Thread-Index: Acmy/3ylr8zPaBOWTZmr5LXAJvWS4gA132/A Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I am trying to implement a history state. It does work, returns to the cal= ling state, however it enters all the super states before getting to the ca= lling state. Which also calls entry actions (when there are entry actions)= . This is not the behavior I was expecting. Can you explain to me how to = prevent this? Below is the command line output from a small program that accepts trigger = events and has a listener attached to the states that outputs the current s= tate. [spalmisano@linuxserver src]$ run.sh Default scxml file is: HistoryTest.scxml Enter path to over-ride (or enter to continue): trigger>TO_STATE12 In State12 trigger>TO_STATE32 In State3 In State32 trigger>STATE32_TO_HISTORY In TopState (This is what I don't want!!) In State1 (This is what I don't want!!) In State12 (This is what I do want) trigger> SCXML file used: -- Landon Ouyang Senior Design Engineer ITT Electronics Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 This e-mail and any files transmitted with it may be proprietary and are in= tended solely for the use of the individual or entity to whom they are addr= essed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely = those of the author and do not necessarily represent those of ITT Corporati= on. The recipient should check this e-mail and any attachments for the pres= ence of viruses. ITT accepts no liability for any damage caused by any viru= s transmitted by this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org