Browsing the samples of Clemence i came by a little feature didn’t knew about yet.
It was clear to me you could trigger the events from within the mediator.
To trigger an event from withing your bpel process, just add the invoke-activity, for interaction type select ‘Event’ and select the event you want to trigger.
So instead of invoking a partnerlink you’ll now invoke the event definition.
[sourcecode language="xml"][/sourcecode]