return RequestBuilder.GET;
}
public void handleSuccessfulResponse(final Controller controller, final Object event, Response response)
{
final ProcessDefinitionRef def = (ProcessDefinitionRef)event;
JSONValue json = JSONParser.parse(response.getText());
List<ProcessInstanceRef> instances = DTOParser.parseProcessInstances(json);
InstanceListView view = (InstanceListView) controller.getView(InstanceListView.ID);
view.update(def, instances);