Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Power Apps Flow - Send Customer Voice survey when case is resolved

(0) ShareShare
ReportReport
Posted on by 57

I have created a Flow that will check if the case is resolved (40 Review, statuscode 100000006). If that's true, I want to send a Customer Voice survey. Here's what the flow looks like:

2021_2D00_04_2D00_01-11_5F00_59_5F00_26_2D00_Power-Apps.png

When the condition is true, we are getting this error:

{"ErrorMessage":"System.Exception: SendEmailsForFlowRequestHandler::Transform:: distribution list count can't be empty\r\n at Microsoft.Forms.Pro.ApiFacade.Requests.FlowSendMessageRequest.Transform(TelemetryLogger telemetryLogger, HttpRequestContext requestContext)\r\n at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<ParseRequestData>d__12.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<DoValidate>d__11.MoveNext()"}

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Power Apps Flow - Send Customer Voice survey when case is resolved

    Hi Partner,

    Has the problem been solved? Any updates?

    Please click Yes under "Did this answer your question?" to close this thread.

     pastedimage1617948109985v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Power Apps Flow - Send Customer Voice survey when case is resolved

    Hi Brandon,

    As per your screenshot, you should add Email on To field. Instead of Email, you are giving Contact to be specific Contact Id that does not work.

    PowerApps-workflow.png

    Note: If your contact does not have email then your flow will also give you the same error.

    Visit us if you want to know more about PowerApps Development.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Power Apps Flow - Send Customer Voice survey when case is resolved

    Hi Brandon,

    Through your screenshot, I found that ‘To’ field value of ‘Send a survey’ action is contact guid, which is not correct, it should be filled with contact’s email.

     pastedimage1617356483990v1.png

    So you can add one action ‘Get a record’ before the ‘send a survey’ step, then get email from the ‘Get a record’ action.

    pastedimage1617356584216v2.png

    You can refer following link to know more details:

    Send Forms Pro Survey On Case Closure - Megan V. Walker

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans