props.setProperty("krisv", "IT");
props.setProperty("john", "HR");
props.setProperty("mary", "PM");
EntityManagerFactory emf = (EntityManagerFactory) applicationContext.getBean("myEmf");
PlatformTransactionManager txManager = (PlatformTransactionManager) applicationContext.getBean("txManager");
RuntimeEnvironment environment = RuntimeEnvironmentBuilder.Factory.get().newDefaultBuilder()
.entityManagerFactory(emf)
.addEnvironmentEntry(EnvironmentName.TRANSACTION_MANAGER, txManager)
.addAsset(
KieServices.Factory.get().getResources().newClassPathResource(
"Evaluation.bpmn",getClass().getClassLoader()), ResourceType.BPMN2)