OOTB method to delete specific queued item from dedicated queue processor
I have a requirement where I am queueing the case to a particular dedicated queue processor. After queueing, when a particular condition is satisfied, the queued item should not be executed.
For this, as the queued items are in System-Message-QueueProcessor-DelayedItem class until they are processed to kafka topic, I am trying to run a report and get the pzInskey of the queued instances and doing Obj-Delete-By-Handle. Above process is working fine as per our requirement but the issue it is working fine for the operators who have sysadm4 role. Other operators do not have permissions to read and delete instances of above mentioned class. I would like to know if there is already pega provided OOTB way or any other method to achieve the above mentioned requirement