Examples of addOrReplaceProperty()


Examples of org.openengsb.core.workflow.api.model.Task.addOrReplaceProperty()

        addWorkflow("HIDemoWorkflow");
        authenticateAsAdmin();
        workflowService.startFlow("HIDemoWorkflow");
        Task task = taskboxService.getOpenTasks().get(0);
        Date date = new Date();
        task.addOrReplaceProperty("test", date);
        assertEquals("step1", task.getTaskType());

        task.setName("test");
        taskboxService.updateTask(task);
        task = taskboxService.getOpenTasks().get(0);
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.