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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / comparing array output...
Power Automate
Unanswered

comparing array outputs from parallel branches and selecting a greater value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard