Requirement
During the new record creation if user fill Details and doesn't click on save draft button and didn't submit the form and no actions are performed on it within 24 hours, the task should be automatically deleted. If user Clicks on save Draft button then task shouldn't be deleted for 30 days
Thanks in advance!
Discussion posts and replies are publicly visible
There is no way to detect the click on save drafts IMO. I would recommend disabling it and making your own button which you can then track.