Hi , I am using a form with Attachment control. Attachment has validations. If user doesn't enter any attachment it shows the validation.

2.But , even after handling validation, when I click on submit , the record inserts into the lists and a flow will be triggered which will collect attachments based on Id.But out of 10 records, only for 2 to 3 records, {has attachment =false} in the flow , even the power apps has validation. But the flow says , has attachment is false(Only 2 /3 out of 10 records, this issue is occuring)

Note: From App attachment is present , but first it insert the record in the list , then the flow triggers starts and in when an item is created / modified the output for Has Attachment is false.