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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (1,575)