private RPA.RPATicket checkScope(RPA.RPATicket ticket) { SharedService.lucene.SearchWebService service = new SharedService.lucene.SearchWebService(); ticket = service.GetSearchResults(ticket); return(ticket); }
private RPA.RPATicket sendFeedbackWS(RPA.RPATicket ticket) { SharedService.lucene.SearchWebService service = new SharedService.lucene.SearchWebService(); //RPA.RPAResult m = ticket.Matches[0]; RPA.RPAResult m = new RPA.RPAResult(); String desc = ticket.TicketDescription; m.ScriptText += " " + desc; m.ScriptID = 1;//to be removed service.UpdateLucene(m); return(ticket); }