code: private ProcessDefinition processProcess(ProcessTextProvider textProvider)
      {
      	int start = textProvider.getPos();
          if (!JavaClass(textProvider))
          {
              throw new ParserException("Missing class name",textProvider);
          }
          textProvider.accumulate(" ");
          String className = textProvider.getLastToken();
  
  //        if (className.indexOf('.') == -1) {
  //        	className = textProvider.getPackageName()+className;
  //        }
          textProvider.setCurrentScope(className);
      	String processName = getProcessName(textProvider);
          textProvider.addTOCElement(null, processName, start, textProvider.getPos(), TYPE_PROCESS);
      	String launchForm = null;
      	String queueName = null;
      	String description = "";
  		if (quotedString('"',textProvider))
  		{
  			description = textProvider.getLastToken();
  		}
  
          if (exact("launchForm", textProvider)) {
          	exactOrError("=", textProvider);
              if (!CVariable(textProvider))
              {
                  throw new ParserException("Missing launch form name",textProvider);
              }
              launchForm = textProvider.getLastToken();
              if (exact("queue", textProvider)) {
              	exactOrError("=", textProvider);
  	            if (!quotedString('"', textProvider))
  	            {
  	                throw new ParserException("Missing queue name",textProvider);
  	            }
  	            queueName = textProvider.getLastToken();
  	            if (textProvider.getWorkflowManager().getQueue(queueName)==null) {
  	            	throw new ParserException("Missing queue definition for "+queueName,textProvider);		            	
  	            }
              }
          }
  
          ProcessDefinition ret = new ProcessDefinition(processName, className, textProvider.getWorkflowManager(), launchForm, queueName, textProvider.getPackageName(), description);
          ret.addTask(new TaskStart(ret));
          
          log.debug(ret.getName());
          textProvider.accumulate("\n");
          processTaskList(ret,textProvider);
  		commit(textProvider);
  
          return ret;
      }
docs: Parse the process.
  @return ProcessDefinition