web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

comparing array outputs from parallel branches and selecting a greater value

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I am trying to compare outputs from X number of parallel branches. In this case, I need it to work for QnA Maker knowledge bases. 

Let's say I have two knowledge bases in QnA Maker and I'd like to send user input to all of them by using parallel branches. 

I need to compare confidence scores out of X (2 in this case) knowledge bases and select the greatest score. Then select the QnA answer with the highest confidence score. 

 

How would I do that? Currently stuck on initializing an array variable first, then trying to append QnA output arrays. 

Another thread had a suggestion to compose my own arrays by using Compose function. 

 

justasAtWork_0-1651057311074.png

Above is the use-case with 2 knowledge bases. This is just a clean, basic structure that needs to have logic implemented. 

 

Could anyone please assist?

 

 

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard