Skip to main content
Community site session details

Community site session details

Session Id : pi4pPAytV7Y1QK01HprauL
Copilot Studio - General
Answered

Return Value(s) to Power Virtual Agents - 2 separate values

Like (0) ShareShare
ReportReport
Posted on 14 Oct 2023 15:00:19 by

HI I have a flow built where the bot grabs two different years of experience Years MD and Years 3 for 1.

 

The bot basically calculates a years of experience in years but certain positions require this yoe be divided by 3 or 3 for 1.  I want to return these two values.  

wherdzik_1-1697295435680.png

So basically here I want it to say:

 

The calculated amount for MD is varYears_MD and for a staff postion is var_Years3_for_1.

 

I just dont know how to put those two compose actions in two two separate variables so I can get it back to the message.

 

wherdzik_2-1697295503614.png

 

 

Categories:
  • Verified answer
    Pstork1 Profile Picture
    67,215 Most Valuable Professional on 14 Oct 2023 at 15:03:21
    Re: Return Value(s) to Power Virtual Agents - 2 separate values

    The simplest way would be to either add another output variable to the return or to use the Markdown language I mentioned in my other post to build the complete message in the flow and return that as one message.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2

Loading complete