cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Flow Not Triggering on Salesforce Record Creation

I've got a flow that is triggered on the creation of a new Salesforce record (Attachment object, not that it should matter, right?). I've created multiple records that should cause the flow to start, yet about 50% of the time it doesn't run. No errors or anything, just empty checks where it claims there are no new records. I know the records are there because I can query for them in Salesforce Workbench. If I give you guys the url from an skipped run can you check logs to see if requests are even being made to Salesforce?

 

I'm hesitant to put this into production if I can't rely on it. I've read about others having similar problems with other connectors. Should we just put everything on a Schedule rather than assume Flow will actually query for new records?

 

2018-12-09_18-42-32.png


2018-12-09_19-03-25.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver I
Resolver I

Re: Flow Not Triggering on Salesforce Record Creation

I think I understand what's going on. During testing I had my Flow switched on and off a lot while adding files. The  skipped runs were indeed 'new records', but were added when Flow was off. I think it compares the last Flow run time vs. the record creation time. And since my records were created before the last run time, they were skipped.

View solution in original post

4 REPLIES 4
Highlighted
Helper IV
Helper IV

Re: Flow Not Triggering on Salesforce Record Creation

 encountered this problem first time, trigger would actually show this state. I am curious as to whether the action below the trigger is running, or that the record has been generated, but the Flow shows the skipped state.

Highlighted
Resolver I
Resolver I

Re: Flow Not Triggering on Salesforce Record Creation

I think I understand what's going on. During testing I had my Flow switched on and off a lot while adding files. The  skipped runs were indeed 'new records', but were added when Flow was off. I think it compares the last Flow run time vs. the record creation time. And since my records were created before the last run time, they were skipped.

View solution in original post

Highlighted
New Member

Re: Flow Not Triggering on Salesforce Record Creation

Hi @Bjorn ,

 

Do you able to find a fix for these record skipped issue? If yes then It will be really helpful for me to understand the fix. Does this limitation of power automate Salesforce trigger? 

I am using Salesforce(Sandbox) When Record Create trigger in my flow and it's skipped some records. Please help me to understand the issue.

Highlighted
Resolver I
Resolver I

Re: Flow Not Triggering on Salesforce Record Creation

Hey @raj2151, I wished I had a better answer for you but for this particular requirement I ended up using a scheduled event not a create/modify trigger to insure I don't miss new records. It burns through more Flow runs but is more reliable. I think it also depends on what Salesforce object(s) you're working with. Notes & Attachments is now deprecated in favor of Files, and seems to have some peculiarities that I haven't seen in other objects. For standard objects like Account or Contact I use automated triggers and don't seem to have issues with skipped checks missing new/modified records.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,120)