Examples of countAvailableTasks()


Examples of org.intalio.tempo.workflow.tms.client.TempoClient.countAvailableTasks()

    query.append(" AND ");
    query.append("T._description like '%Examples%'");
    query.append(" ");
    query.append("ORDER BY T._creationDate DESC");
   
    Long countTasks = tempoClient.countAvailableTasks(PATask.class.getSimpleName(), query.toString());
    _log.info(MessageFormat.format("Found {0} tasks with description like %Examples%", countTasks));
    // retrieve all the tasks
    Task[] paList = tempoClient.getAvailableTasks("PATask", query.toString());
    // retrieve only a few tasks by setting min and max
    Task[] aFewTasks = tempoClient.getAvailableTasks("PATask", query.toString(), String.valueOf(0), String.valueOf(5));
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.