Hi @apc0028 ,
Do you want to click the button web part and then the button automatically show as a past task?
If yes, according to my research and testing, currently there is no way to achieve it. Only can add link to the button web part.
Thanks for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.