Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Respond to Power Apps with Limited Concurrency Flow

I am attempting to create a workflow that contains multiple different actions, which are all being triggered via various buttons in a powerapps, that all pass in a variable that is used in determining the outcome of a switch statement inside a flow. 

This flow is limited to a single instance (qued flow) because every time a flow is executed, I need to ensure qued flows are held until the first flow makes all changes. concurrent flows can break my process. 

for one portion, I need to know (In powerapps) once the flow has finished running. It should be within a couple seconds every time. 

I have set a variable in powerapps to the Run function. Example: Set(myVar,Run(...))

In Power AUtomate, i have used the "Respond to a Power App or Flow" Action. 
I added an output
I selected Yes/No (Because I am using a boolean, that will trigger a refresh inside powerapps once the flow completes, if true) 
and for testing, I simple used true.

When saving the flow, i am prevented from saving with FULL error code: 
Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'InvalidConcurrencyConfiguration' and message 'The concurrency configuration of workflow trigger 'manual' of type 'Request' at line '1' and column '679' is not valid. The concurrency control is not supported when the workflow contains actions of type 'response' without the operationOptions flag set to 'asynchronous'.'."}}". Code: 0x80060467 InnerError: '.


I believe this is telling me I simply cannot reply to a Powerapp once the flow has been limited to 1 instance, qued. 
I don't understand why it would be able to respond. I can see that it some cases a user might be waiting, But I believe it's up to the developer to understand and work with that.

My flow should not be taking more than a second or two to run.
I need limited instances - I need 1 flow to complete before beginning the next. 
I need to respond to the powerapps trigger and let the user know of the completion. 


Helper II
Helper II

@KyleJ  were you able to get the workaround. i have similar requirement but limited concurrency is set to 1


Same issue here. Any solutions?

Helpful resources

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Users online (1,531)