1 Reply Latest reply on Apr 24, 2015 3:44 AM by Pavan Andhukuri

    JBPM Workflow not moving forward after Human Task

    Pavan Andhukuri Newbie

      I am using jBPM 6.2.0. I have a small workflow containing a User Task. I am trying to complete the task using the remote API through a Java client.

      Following is the code used.

      TaskService taskService = connManager.getTaskService("admin", "admin");
      .start(4, "admin");

      .complete(4, "admin", null);

      and the relavent methods.

      private RemoteRuntimeEngine getRuntimeEngine(String deployment, String user,
      String password) throws MalformedURLException {
        URL deploymentUrl
      = new URL("http://localhost:8080/jbpm-console/");
      return (RemoteRuntimeEngine) RemoteRuntimeEngineFactory

      public TaskService getTaskService(String user, String password)
      throws MalformedURLException {
      // Establish Connection
      RemoteRuntimeEngine conn = getRuntimeEngine("", user, password);

      TaskService taskServcie = conn.getTaskService();

      return taskServcie;

      After I complete the task, the workflow is not moving forward. In my case, there are no activites later, so I am expecting the workflow to end.