Implemented the monitoring function of the resource to depend on the ticket.