commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SCXML-204) Invoker is not getting called twice from the same state
Date Fri, 02 Jan 2015 20:02:36 GMT

     [ https://issues.apache.org/jira/browse/SCXML-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma closed SCXML-204.
---------------------------
    Resolution: Incomplete

Closing as incomplete without further input

> Invoker is not getting called twice from the same state
> -------------------------------------------------------
>
>                 Key: SCXML-204
>                 URL: https://issues.apache.org/jira/browse/SCXML-204
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.9
>         Environment: Java 1.6, apache commons SCXML v0.9
>            Reporter: Anshul Gangwar
>            Priority: Minor
>              Labels: newbie
>
> Hi, 
> First I am a newbie for this site and for SCXML as well. I am not sure whether my concern
is actually a bug. Below is my problem description:
> I have used SCXML for maintaining state machine in my project. I have used the Invoker
to perform some activity each time the transition to the state,for which invoker is defined,
is performed.
> Issue is coming when invoker is called twice from same state. 
> For example, from State "A" event "TEMP" is fired, then it moves to state "B". And as
soon as it enters the state "B" invoker is called and callback method invoke() of Invoker
class is being called.
> <state id="A">
>     <transition event="TEMP" target="B"></transition>
> </state>
> <state id="B">
>     <invoke src="INVOKER" targettype="invoker-req">
>         <transition event="FAIL" target="A"></transition>
>         <transition event="SUCC" target="C"></transition>
>     </invoke>
> </state>
> Problem is coming when event "TEMP" is fired again from State A and then Invoker is not
getting called. invoke() method is never called again. Can the invoker be called only once?
> Please let me know how can I call the invoker/invoke() again. I am not getting much help
on internet.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message