How to hide submit for approval button from approval history area when stage level changes from one pick list value to another.
Solution with me at the moment is creating two differrent record type and write a trigger to change the recird type upon changing the pick list value of stage. However how can i create the that custom button that allows user to submit record for approval?
is there any other solution than the one I have? As I don't think above is the best solution?
I have already gone through solution here Display "Submit for Approval" button in the Approval History related list based on condition but since new release summer 15 home page component no more supports JS , so that does not worked for me.