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 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

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:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard