Export to GitHub

scxml4flex - issue #31

dataModel is NULL before start()


Posted on Jul 22, 2011 by Happy Rabbit

I am testing scxml4flex with custom actions. I want to call custom actions in <onEntry/> of the initial state. These actions are using domain data that has to be set before starting the state machine.

But dataModel is NULL until engine.start() was called and I cannot set it as it is readonly.

But after start() <onEntry/> of the initial state has already been processed. Is there another way to set dataModel or should this behaviour be considered as a bug?

Status: New

Labels:
Type-Defect Priority-Medium