Vasyl Matyashovskyy schrieb:
> Hi Thomas,
>
> This function provide ability to send events from subworkflow to parent:
> $scriptapi.sendEvent("SENDED_EVENT_NAME", $wf.getMasterParentWfId())
>
> But other subworkflows that are runed has not see this event.
>
> How get access to event (EVENT_NAME) from SUB2, that has been sent from SUB1
> by function:
> $scriptapi.sendEvent("EVENT_NAME", $wf.getMasterParentWfId())
>
Hi, it is not designed that normal events get distributed to attached
subworkwflows,
they were only processed by the workflow that originally received them.
An exception are the DATA_CHANGED events that get send to every workflow
that attaches
the databit that was changed.
I don't exactly see the use-case for this scenario, because normally you
have an
undefined amount of subworkflows attached to a parent workflow, and would
trigger more of them when sending an event to all of them.
If you only have one subworkflow you could also add it to the parent
workflow definition
and avoid some difficulties.
Greetings
--
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
144 pixels ought to be enough for anybody,
www.blinkenlights.de
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
swamp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net