SDPIII-51 changes to store ticketids and not itckets in queue