Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jbpm.process.workitem.handler;
 
 import java.util.Map;
 
 
 public class RecordHandler implements JavaHandler {
 
 	public Map<StringObjectexecute(ProcessContext kcontext) {
		String employeeId = (Stringkcontext.getVariable("employeeId");
		// look up employee in for example db
		// we will just create one here for demo purposes
		Employee employee = new Employee(employeeId"krisv");
		kcontext.setVariable("employee"employee);
		return null;
	}
New to GrepCode? Check out our FAQ X