Hello @LH_9638407
There are several ways how to achieve your needs.
1.
It is possible to create workflow process for promotion request or any other change workflow process, or modify existing.
In the end of workflow process
In the workflow, you can use a robot where you can define java code with if statement that do a job what you need.
2.
Modify lifecycle and change it to a advanced.
Create simple workflow with a robot java code to just change all version state to Obsolete.
In Lifecycle define for Obsolete state that workflow and always the state is reached all versions will be change to that state by simple WF.
3.
Create customization function for that process to change all states of version.
All options needs to know how to crate java script that change the state of all versions
PetrH