Using .net addon to add ProcessExecutor, add process and statement to the executor

Hello,

I try to use code in .net addon to add process executor and add statements to the process node. Can I use processExecutor.addProcess(<process_name>).addStatement(basedOn, false); to load the process statement?

Furthermore, is there a way to create an instance of process statement?

Thank you!