Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When an SCXML statemachine using the "ecmascript" datamodel invokes (<invoke>) another SCXML statemachine, the Javascript global context must not be shared between them.
The JSEvaluator therefore cannot (anymore) use a static instance of the Nashorn engine but must be created per JSEvaluator instance.
SCXML users should therefore need to make sure not to reuse/share a pre-defined JSEvaluator for multiple SCXML statemachine executions!