This is a feature request, from link below seems like no other workaround yet but to do the operation in the current connection in the context:
https://groups.google.com/forum/?fromgroups=#!topic/scriptella/BpfD6BJc804
Is it possible to support 'connection-id' in 'onerror' tag? Thanks
Update: The feature has been implemented and it will be included into 1.2 release. Current development snapshot can be download from here: http://javaforge.com/displayDocument/scriptella-1.2-SNAPSHOT.zip?doc_id=222665
I've created a change request and will consider adding this feature in future releases.
Regarding the workaround. Why is it not acceptable?