cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Big_S
Post Patron
Post Patron

Could not execute workflow

Hi Guys,
Does anyone know what's happening? I didn't change anything and it was deployed already then this happens

here is my code and I have attached the screenshot of the error

Concurrent(
Set(_submittingRequest, true),

Set(_managerApprove, true));
Navigate(ManagerChangeRequestScreen, None);
Patch('[dbo].[Request]', LookUp('[dbo].[Request]', Id = GalleryRequests.Selected.Id), {ApprovalStatus: "Approved" , ApprovedDate: _leaveStart});
PowerAppsbutton_2.Run("Approved", "N/A", User().Email, TextInput1.Text);
Set(_submittingRequest, false)

 
2 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Big_S ,

Get rid of the Concurrent for a start. This is not what the function was designed for - it is for reading multiple tables from a data source concurrently to save time. If that does not fix it, happy to help further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

v-yutliu-msft
Community Support
Community Support

Hi @Big_S ,

Please try this:

delete the Flow connection from PowerApp, disabled the Flow then re enabled it.

then added it back into PowerApps again 

 

Someone has met the same problem, please refer this:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Flow-Trigger-Error/td-p/302443

 

 

Best regards,

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

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @Big_S ,

Get rid of the Concurrent for a start. This is not what the function was designed for - it is for reading multiple tables from a data source concurrently to save time. If that does not fix it, happy to help further.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

v-yutliu-msft
Community Support
Community Support

Hi @Big_S ,

Please try this:

delete the Flow connection from PowerApp, disabled the Flow then re enabled it.

then added it back into PowerApps again 

 

Someone has met the same problem, please refer this:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Flow-Trigger-Error/td-p/302443

 

 

Best regards,

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

Hi @warren Thank you so much for your suggestion i will try to execute this

Hi @v-yutliu-msft 

 

Thank you for this! I will surely execute your suggestion once again thank you

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,449)