Hello All,
i have created a flow which will check if item is created or modified. by checking in condition created eq Modified in formatdatetime condition, but in sharepoint list there is some delay about 2 seconds in modified column, because creating item with attachments, so there will some delay in modified due to that for some items condition is not satisfying. i have also tried with below solution from https://powerusers.microsoft.com/t5/Building-Flows/Check-if-SharePoint-list-item-created-or-modified/td-p/779195,
but it is not working.
@OR(and(equals(formatDateTime(triggerOutputs()?['body/Created'],'yyyy-MM-dd'), formatDateTime(utcNow(),'yyyy-MM-dd')), equals(triggerOutputs()?['body/{HasAttachments}'], true), not(equals(float(triggerOutputs()?['body/{VersionNumber}']), 1.0))), and(equals(triggerOutputs()?['body/Created'], triggerOutputs()?['body/Modified']), equals(float(triggerOutputs()?['body/{VersionNumber}']), 1.0))),
Could you please let me know any alternative way to check in power automate, I need to solve this issue ASAP, due to this i am not able to achieve desire results.
Thank you in Advance!