*/
@Deployment(resources = { "com/founder/fix/fixflow/test/engine/api/task/TaskServiceNewTest.bpmn"})
public void testSubmit(){
//启动流程命令
StartProcessInstanceCommand startProcessInstanceCommand = new StartProcessInstanceCommand();
//设置流程编号
startProcessInstanceCommand.setProcessDefinitionKey("TaskServiceNewTest");
//设置业务关联键
startProcessInstanceCommand.setBusinessKey("BK_testStartProcessInstanceByKey");
//设置流程启动人
startProcessInstanceCommand.setStartAuthor("1200119390");
//启动流程,只启动流程 ,流程停在第一步
ProcessInstance processInstanceQueryTo = runtimeService
.noneStartProcessInstance(startProcessInstanceCommand);
String processInstanceId = processInstanceQueryTo.getId();
//验证是否成功启动