Hi i have a question that,
all the active cases will come under category(label) inbox. but as per my requirement depending the user click on assign or unAssign button in Bonita XP, the case on which the button clicked should be moved to the different category like "overdue" with in the server. i tried a lot but i dint get an exact solution.
could you please help me in this.
regards,
Saran P.
i came to know that there is a web api which will give us a way to do this.
i have used this as follows,
WebAPI webAPI = AccessorUtil.getWebAPI();
Set<ProcessInstanceUUID> caseList = new HashSet<ProcessInstanceUUID>();
caseList.add(processInstance.getProcessInstanceUUID());
webAPI.addCasesToLabel("Admin", "Overdue", caseList);
But i dint get excat solution what i have expected.
here the three arguements of the method are String user,String lable,Set<ProcessInstanceUUID> but i just want to know what is user, and what is lable. what ever i have implemented is correct or not? could u please confirm us.
regards,
Saran Kumar P.
with the above code, we can add cases to the existing lables. but all the cases been added to the existing lable are not visible on the UI. when we put the below logic i will come to know that the cases been added but they are not visible on the screen.
HashSet<String> alabels = new HashSet<String>();
alabels.add("At risk");
Set<ProcessInstanceUUID> Atriskcases = webAPI.getCases(getLogin(), alabels);
please help me in this how to make the cases added to the lable visible on the screen.
regards,
Saran