OOTB File attachment restriction ,last file should be able to delete
Hi All, scenario: we have OOTB file attachment where we can upload and download and delete the file ,these option we can give in visibility , but when we uploaded the file and we are in that particular screen where we can view or download or delete the file , 1)we should get only the delete option until we are on that particular screen after upload ,once we submitted we should not able to delete it in next time suppose we have two file uploaded now so we can delete both until we are not submitted but once we submit we should not able to delete ever ,in same screen again we uploaded any other file so we can delete current uploaded not old one however we have Post or Pre activity to achieve it and even we can use flag but here we have everything OOTB ,final rules can anyone have idea how we can achieve it