WorkflowClient client = WorkflowEngineManager.getWorkflowClient();
client.setEngineURL(gpelEngineURL);
// XXX This is supposed to return the workflow templates related to the
// user only. But users are not implemented in GPEL yet.
GcSearchList results = client.list();
for (GcSearchResult result : results.results()) {
// The title to show to the user.
String title = result.getTitle();