cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sandra1
Helper I
Helper I

Flow is sometimes slow

Hello,

I have created a "when a record is selected in the Common Data Service" flow. 

It lists records (currently 8 records) of the entity A. It then searches for the related record of a linked entity B for each record.

It then checks whether a field of record B is set to a certain value and appends the identifier of entity B to either list A or list B, depending on the value. 

The problem is that (as you can see in the pictures below) the whole process sometimes takes over 10 minutes and sometimes 12 seconds. The records are always the same. 

 

geht.PNGgeht nicht.PNG

If it takes long it shows a RequestTimeout for some requests of enitity B.

Is there something wrong with my flow or is this a common power automate problem? 

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @sandra1 ,

 

After the flow is completely executed, please check which action takes longer to execute.

In addition, please try to set Apply to each to increase execution speed.

196.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-bacao-msft

I tried to parallelize the apply to each, but it didn't change a thing. 

The action that took so long (get a RequestTimeout) is the get record action.  

Each run (that took so long) it is another record that gets a Request Timeout and after a retry, it is successful so I don't think it has something to do with the data.

Do you have any idea how to solve the issue? Is this a flow problem or a common data service problem? 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,847)