user the 'command interface' to trigger processinstances. Look in the sourcecode for testcases of this. These can be interesting as examples to.
Could you please be more specific, with some URLs or the useful classes in the javadoc
My answer solution for 3.1.x it using the create-timer event (if this event still exists in 3.2 you're in business).