I want to understand if there is any way I can put a button which will perform a custom logic in the approval - accept/reject page. i.e. in the following page
Or I have to create a visual page/ lightning component?
I already looked into the below reference, but there does not seem to be any suitable answer.