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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

sne automatic e-mail to user

(0) ShareShare
ReportReport
Posted on by
Hi guys, 
 
I am new to dynamics and I am trying to setup the SLA actions flow.  can someone help me out, what dynamic content i should specify in the /to/ field/ in order for the notification to be send to the case owner? My flow looks like this: 
 
If i input an e-mail adress it will be executed, however, it's not what `i am trying to achieve. Thank you in advance,
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We have analyzed your requirements, and you can use the /List Rows/action in Power Automate to get all the records for a certain entity and then use Fetch XML to filter them and populate the /Email/address into the /To/ field after filtering.
     
    Here are some simple steps to help you understand the solution.
    1. Use /List Rows/ to get all the records of an entity.

    2. Use /Fetch XML/ to get the filtered results.
    You can use the /Case/dynamic field from the above steps


    3.Fill the /Primary Email/ from the result of step 2 into the /To/ field.

    In addition, the above steps are only how to get the Email of the Case Owner, other details such as determining whether the SLA has expired or not need to be designed according to your business needs.

    Finally, here is the code I used.
    <fetch top="50">
      <entity name="systemuser">
        <attribute name="internalemailaddress" />
        <link-entity name="incident" from="owninguser" to="systemuserid">
          <filter type="and">
            <condition attribute="incidentid" operator="eq" value="2c1bda50-7b74-ee11-8179-6045bda1d5cc" />
          </filter>
        </link-entity>
      </entity>
    </fetch>

     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    May I ask if your problem has been resolved?
     
    Do you still need us to follow up on this issue, please contact me if you have any questions about the solution I proposed.
     
    Best Regards,
    Rudy Zhang

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 54 Most Valuable Professional

#2
11manish Profile Picture

11manish 21

#3
AT-28040446-0 Profile Picture

AT-28040446-0 13

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans