Making changes conditional on the original values

You might want to change all priority 5 applications to priority 4, for example.