boolean assigned=false;
HashMap<String, Object> map = new HashMap<String,Object>();
map.put("assignedTo",billrole.getId());
for(WorkflowTask task : APILocator.getWorkflowAPI().searchTasks(new WorkflowSearcher(map, sysuser))) {
if(task.getWebasset().equals(cont.getIdentifier())) {
assigned=true;
Assert.assertEquals("please do this for me",task.getDescription());
break;
}