Automatically transition the previous released revision of a physical product to Obsolete?

Hi!

Is there any way to automatically transition the previous released revision of a physical product to Obsolete when a new revision is created?

Current situation:
We have a physical product at Revision A – Released.
Due to a new requirement, Revision B is created and is In Work.
According to our company policy, Revision A must be transitioned to Obsolete once it is no longer the latest revision.

At the moment, this obsolescence is done manually.

Consider that the tenant is configured: 

  • To use only primary revisions
  • New revisions can only be created from the Released state.

     

Thanks!