start process instance

BONITA 7: Start a process instance from script

Hello, In Bonita 7 I'm trying to create a new instance of a process from a script but I can not. My process (process1) has a service task in which I add a script to launch a new process called "process2" version "1.0". Examples of Bonita's documentation not have all the code and sometimes lack me how to get the current session, other times to get the current users ... please does anyone have a complete example or can help me?

Thank you. Regards,