Examples of submitFormVariables()


Examples of org.camunda.bpm.engine.impl.form.handler.StartFormHandler.submitFormVariables()

public class FormPropertyHelper {

  public static void initFormPropertiesOnScope(VariableMap variables, PvmExecutionImpl execution) {
    ProcessDefinitionEntity pd = (ProcessDefinitionEntity) execution.getProcessDefinition();
    StartFormHandler startFormHandler = pd.getStartFormHandler();
    startFormHandler.submitFormVariables(variables, execution);
  }

}
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.handler.TaskFormHandler.submitFormVariables()

    ensureNotNull("Cannot find task with id " + taskId, "task", task);

    TaskDefinition taskDefinition = task.getTaskDefinition();
    if(taskDefinition != null) {
      TaskFormHandler taskFormHandler = taskDefinition.getTaskFormHandler();
      taskFormHandler.submitFormVariables(properties, task);
    }

    // complete or resolve the task
    if (DelegationState.PENDING.equals(task.getDelegationState())) {
      task.resolve();
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.