Package org.apache.agila.services.task

Examples of org.apache.agila.services.task.TaskService.assignTask()


    public boolean doStart(NodeContext ctx) {

        TaskService ts = ctx.getTaskService();

        ts.assignTask(ctx.getNextExecutionToken().getTokenID(), "Approve site visit",
                new UserID(1), new Date());

        return false;
    }
View Full Code Here


    public boolean doStart(NodeContext ctx) {

        TaskService ts = ctx.getTaskService();
        NotificationService ns = ctx.getNotificationService();

        ts.assignTask(ctx.getNextExecutionToken().getTokenID(), "Leave Approval",
                new UserID(1), new Date());

        return false;
    }
View Full Code Here

     */
    public boolean doStart(NodeContext ctx) {

        TaskService ts = ctx.getTaskService();

        ts.assignTask(ctx.getNextExecutionToken().getTokenID(), "Enter leave details",
                new UserID(1), new Date());

        return false;
    }

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.