private RuleFlowProcess getWorkItemProcess(String processId, String workName) {
RuleFlowProcess process = new RuleFlowProcess();
process.setId( processId );
List<Variable> variables = new ArrayList<Variable>();
Variable variable = new Variable();
variable.setName( "UserName" );
variable.setType( new StringDataType() );
variables.add( variable );
variable = new Variable();
variable.setName( "MyObject" );
variable.setType( new ObjectDataType() );
variables.add( variable );
variable = new Variable();
variable.setName( "Number" );
variable.setType( new IntegerDataType() );
variables.add( variable );
process.getVariableScope().setVariables( variables );
StartNode startNode = new StartNode();
startNode.setName( "Start" );