Package org.intalio.tempo.workflow.tms.client

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


        tempoClient.setOutput(id, tempoClient.createMessageAsDocument(complete, "abr_output.ftl"));
        _log.info("Check the output we've just set");
        String outputAsXmlString = ((PATask)tempoClient.getTask(id)).getOutputAsXmlString();
    _log.info(outputAsXmlString);
        _log.info("complete the PA task with some output");
        tempoClient.complete(id, complete, "abr_output.ftl");
        //sendSoapToTMP(complete(token, id, complete), "completeTask");

        _log.info("sleep again to wait for the notification");
        Thread.sleep(SLEEP_TIME);
        Task[] ts2 = tempoClient.getAvailableTasks("Notification", "ORDER BY T._creationDate DESC");
View Full Code Here


        _log.info("The notification has the following:" + "\nInput:" + xmlTooling.serializeXML(notification.getInput()) + "\nCreation Date:"
                        + notification.getCreationDate() + "\nAttached Form:" + notification.getFormURLAsString() + "\nDescription:"
                        + notification.getDescription());

        _log.info("Dismiss this notification");
        tempoClient.complete(notificationId);
    }

    /**
     * Quite a few different call to check that the release is in good shape.
     */
 
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.