Rest Driver - capture the driver status

Hi,

Trying to capture the status of previous transaction in Subscriber - ETP in Rest driver. Is it possible?  There is a local variable being set in Publisher - ITP, and it has to be cleared while processing the new transaction based on the previous transaction status ( as we should not clear the variable value if the previous transaction Status is Retry)

DirXML Log Event -------------------
Driver: \SITGROUPIDM\system\idm\driverset\REST
Channel: Subscriber
Status: Retry
Message: Code(-9006) The driver returned a "retry" status indicating that the operation should be retried later. Detail from driver:

Thanks & Regards,

Sathish