I don't know that is something you will need to ask HP Support.
But that HP Support specs on your motherboard shows which processor you can upgrade to.
It doesn't show any other variant of the 2700 processor.
NOTE: Looking at the Ryzen 7 2700X specs it is a 105 watt TDP which will disqualify it but the Ryzen 7 2700e has a TDP of 45 watts so it is below the maximum processor TDP for your Motherboard.
But I don't know if the MoBo's BIOS would recognize the 2700e or not.