public ProcessInstance createProcessInstance(String processId,
Map<String, Object> parameters) {
String kresultsId = "kresults_" + this.gsd.getId();
CommandImpl cmd = new CommandImpl( "execute",
Arrays.asList( new Object[] { new KnowledgeContextResolveFromContextCommand( new CreateProcessInstanceCommand( processId,
parameters ),
null,
null,
this.instanceId,
kresultsId )} ) );