cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Talsmonkey
Frequent Visitor

Condition node evaluating a variable returned from Power Automate evaluates incorrectly

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

0 REPLIES 0

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,577)