Examples of submitStartFormData()


Examples of org.activiti.engine.FormService.submitStartFormData()

    requestFormProps.put("priority", "critical");

    Date startDate = new Date();

    // create a new process instance with given form params
    ProcessInstance processInstance = formService.submitStartFormData(
        definition.getId(), requestFormProps);
    assertThat(processInstance, notNullValue());

    // test the audit process, fetch historic data
    List<HistoricDetail> historicFormProps = activitiRule
View Full Code Here

Examples of org.activiti.engine.FormService.submitStartFormData()

    assertNull(startFormData.getFormKey());
   
    Map<String, String> formProperties = new HashMap<String, String>();
    formProperties.put("name", "HenryYan");
   
    ProcessInstance processInstance = formService.submitStartFormData(processDefinition.getId(), formProperties);
    assertNotNull(processInstance);
   
    // 运行时变量
    RuntimeService runtimeService = activitiRule.getRuntimeService();
    Map<String, Object> variables = runtimeService.getVariables(processInstance.getId());
View Full Code Here

Examples of org.activiti.engine.FormService.submitStartFormData()

    assertNull(startFormData.getFormKey());

    Map<String, String> formProperties = new HashMap<String, String>();
    formProperties.put("name", "HenryYan");

    ProcessInstance processInstance = formService.submitStartFormData(processDefinition.getId(), formProperties);
    assertNotNull(processInstance);

    RuntimeService runtimeService = activitiRule.getRuntimeService();
    System.err.println("=============");
//    runtimeService.suspendProcessInstanceById(processInstance.getId());
View Full Code Here

Examples of org.activiti.engine.FormService.submitStartFormData()

    assertNull(startFormData.getFormKey());
   
    Map<String, String> formProperties = new HashMap<String, String>();
    formProperties.put("name", "HenryYan");
   
    ProcessInstance processInstance = formService.submitStartFormData(processDefinition.getId(), formProperties);
    assertNotNull(processInstance);
   
    // 运行时变量
    RuntimeService runtimeService = activitiRule.getRuntimeService();
    Map<String, Object> variables = runtimeService.getVariables(processInstance.getId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.