[
https://issues.apache.org/jira/browse/SCXML-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Akolkar resolved SCXML-19.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.0)
0.6
There are multiple ways of doing this (since v0.6) -- such as serialization,
manipulating the current status of the executor etc. I suspect we neglected to
resolve this since the fix version wasn't set appropriately.
> Need to resume a state machine from a specified state
> -----------------------------------------------------
>
> Key: SCXML-19
> URL: https://issues.apache.org/jira/browse/SCXML-19
> Project: Commons SCXML
> Issue Type: Wish
> Affects Versions: 0.5
> Environment: Win XP, JDK 1.5
> Reporter: Raj Rao
> Fix For: 0.6
>
> Attachments: AbstractStateMachine.java
>
>
> I want a feature that does the following:
> 1. Consider a state transition from S1 -> S2 -> S3 -> S4, the initial state
> being "S1".
> 2. Instantiate a state machine and set its initial state to "S3"
> 3. Basically, I am resuming the state machine to start from state "S3", and I
> don't want the engine to invoke the OnEntry executable content applicable to
> state "S3". I also want to prevent any EntryListeners from being executed on
> resuming the state machine from state "S3". Here the assumption is that the
> state machine had earlier run from "S1" to "S3", and at a later point in time
> I want to resume the state machine from "S3".
> Currently, the OnEntry and EntryListeners are executed when I set the new
> initial start state in the state machine and do a engine.go()
> I have attached a modifed AbstractStateMachine.java where I attempted to
> disable the EntryListeners on a resume.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.