Hello everyone,
I have an issue with an app and its associated flow. Up to yesterday, everything worked fine. Today there is a timeout issue: "MyFlow.Run": The function call exceeded the timeout value of 180 seconds.
What does my code do?
At first the collection colMyData will be sent to SharePoint Online. After that, the second collection colMyDataTwo will be sent to another SharePoint Online list. Then the collection colMyData will be converted to JSON and saved to a variable. Then the PowerApp will fire a flow if there is data in the variable MyImagesJSON.
I think the last line of my code is the important one.
When I ran the code everything worked fine except the start of my flow and I got this message:
"MyFlow.Run": The function call exceeded the timeout value of 180 seconds.
So, all the data is saved on SharePoint Online but without my images and without running my flow.
This is my corresponding code:
ForAll(colMyData;
Patch(SharePointList;Defaults(SharePointList);
{ItemA: {value: ItemA; '@odata.type': "#Microsoft.Azure.Connectors.SharePoint-SPListExpandedReference"};
ItemB: {value: ItemB; '@odata.type': "#Microsoft.Azure.Connectors.SharePoint-SPListExpandedReference"};
ItemC: {value: ItemC; '@odata.type': "#Microsoft.Azure.Connectors.SharePoint-SPListExpandedReference"};
ItemD: {value: ItemD; '@odata.type': "#Microsoft.Azure.Connectors.SharePoint-SPListExpandedReference"};});;
ForAll(colMyDataTwo;Patch(SharePointListTwo;Defaults(SharePointListTwo);{ItemA: ItemA; ItemB: ItemB}));;
Set(MyDataJSON;JSON(colMyData;IgnoreBinaryData));;
If(IsEmpty(MyImagesJSON)=false;MyFlow.Run(MyImagesJSON))
I have tested it with various devices and sometimes it worked (iPad and Desktop) and sometimes it failed (Galaxy S10, iPhone).
Can anyone help me? Especially in case of the timeout issue? How can I understand this timeout issue?
Best regards,
PA