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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Condition node evaluat...
Copilot Studio
Unanswered

Condition node evaluating a variable returned from Power Automate evaluates incorrectly

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have a bot that calls a Power Automate action. When testing in the PVA bot designer, everything works as expected. However, the published version of my bot behaves differently. I can see Power Automate's history that my flow returns the values correctly, however, the bot behaves as if the variables have not been set from the flow and follows the wrong condition branch. I also see this from other nodes where I use a returned value. Instead of the value Power Automate, history tells me was returned, PVA will write out a GUID and not the correct value.

You'll see from the screenshot and the PA response body that it seems to think that HasError is false and that ErrorMessage is empty.

 

Talsmonkey_0-1658758116953.png

The Power automate flow response body:

{
  "expectedotp""",
  "haserror"true,
  "errormessage""No investor found for ID number provided.",
  "maskedmobilenumber"""
}
 
The response where instead of the value returned, it writes out a guid:

The client was sent an OTP on '{2ceef2c8-10c6-4959-a48e-9bbe0daf7120}'. Please verify the OTP.

 
Just to reiterate: In the bot designer, while editing the topics, it works all the time. After publishing it doesn't work most of the time in either Teams or the demo website.
 

Any help or guidance would be greatly appreciated.

 

Kind regards, 

Charl Marais

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

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard