Change Transaction Status of different Queue items from different process using different Queue

I want to change Queue items status if business rules matched. I have 2 process Performer and Dispatcher.
I am using perfromer process with queue name “PQueue”. Performer will run and if some business rules is not satisfied then it will change the queue item status to failed. But i also want to change status of the same application number in dispatcher queue named as “DQueue”.
I use get queue items for this but it is change status of all items and i want to change only specific item which is performed in performer process.