Set Priority Of New Transaction As High In Case Of Retried Mechanism

In ReFrameWork, when any application exception occur bot will retry the Queue transaction (Bot will update current transaction status as Retried and add new transaction). How to set priority of new transaction as High in this scenario?

Root Cause: No direct activity is available to update the priority of Queue transaction item at runtime.

Workaround: Set maxretrynumber of config file and added add queue with high priority in system exception.