web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Logic apps trigger only when file is complete

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have integration scenario in which customer will place a file in SFTP location.  I have to read the file and insert into dynamics FinOps.

For this, I am thinking to use Logics App to basically trigger when a new file is created and call FinOps to insert records.

My question is, How can i make sure Logic Apps only triggers when file is completely uploaded and not just created. The file customer will upload will be in 10-100mb in size. I want to make sure that when a file is completely imported then only logic apps triggers.

Also for this kind of integration pattern, what is the best design to use.

Thanks

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, We have created similar requirement to fetch file from SFTP location using Power automate. In our case, Bank was dropping files once day so we created recurring flow to run once a day and schedule accordingly. In your case, even if incoming files are scheduled for any time, you can still read files using Actions 'List Files in Folder' and it should provide only files which are uploaded completely. The trigger and action for Logic app will be different.

  • Verified answer
    Eiken Profile Picture
    on at

    Hi,

    Please try changing the trigger to "When a file is created in a folder".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 41 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 39

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans