cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Radoslavov
Helper V
Helper V

Chat Bot doesn't return Outcome from Flow

Hi Guys,

 

I'm currently testing some basic features in PVA with Dynamics CRM integration.

A customer will request a service request to be open with the support team.

The Bot will ask the customer some questions such as name, email, title, description.

Once the bot gets all that information will pass it to Flow which will create a Contact and then a Case in Dynamics CRM.

After that the bot will return to the user the case number from CRM.

 
 
 

So far everything is working perfect, expect the part where the bot must return the case number to the user as confirmation that the case was created. Every time i get a message that action can not be completed at this moment, but in fact everything worked as expected from behind.

The Flow run with Success

3.PNG

, the case was created in CRM

5.PNG

, even the flow have the case Number (Outcome value).

4.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Radoslavov,

 

Your flow seems to have a small discrepancy in variable name in Response node JSON:

  • It is CaseNumber in Response Schema, but Case Number  (with a space) in Body

If you update them to be CaseNumber in both Response Body and Schema JSON, this should work.

View solution in original post

4 REPLIES 4
MarKol
PVA
PVA

Hi Radoslav,

 

can you post the error that you see in Power VA UI, please? Your flow seems to be running just fine, and all JSON output looks good.

Hi,

 

The message is very generic I don't think it will give you any information

1.PNG2.PNG

Hi Radoslavov,

 

Your flow seems to have a small discrepancy in variable name in Response node JSON:

  • It is CaseNumber in Response Schema, but Case Number  (with a space) in Body

If you update them to be CaseNumber in both Response Body and Schema JSON, this should work.

View solution in original post

MarKol,

 

Thanks for the help, indeed it was this little space in the body.

1.PNG2.PNG

Thanks again for spot-on my silly misstake.

 

Best Regards

Kiril

Helpful resources

Announcements
V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,408)