[scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Thiébault Benoît
Hi everyone, I'm using SCML with custom actions. I followed the Custom Actions tutorial successfully (http://commons.apache.org/scxml/guide/custom-actions.html), but the Hello action only uses parameters provided in the SCXML file. What I want to do is to provide a payload to the triggering

Re: [scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Rahul Akolkar
2010/9/16 Thiébault Benoît d...@artenum.com: Hi everyone, I'm using SCML with custom actions. I followed the Custom Actions tutorial successfully (http://commons.apache.org/scxml/guide/custom-actions.html), but the Hello action only uses parameters provided in the SCXML file. What I want

Re: [scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Thiébault Benoît
Thank you, it works very well (the first option, because I don't know a priori the event name so it is hard to use the second). When you say When using v0.9, is this API planned to change in future version or is it just to say it works in 0.9 but might not work forever Kind regards Ben Le 16

Re: [scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Rahul Akolkar
2010/9/16 Thiébault Benoît d...@artenum.com: Thank you, it works very well (the first option, because I don't know a priori the event name so it is hard to use the second). When you say When using v0.9, is this API planned to change in future version or is it just to say it works in 0.9 but