cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

How to filter all the status Active cases - Calculate their total and send them in an email?

Hello,


I am planning to create a flow that sends me a daily reminder email about all the cases that have the Status label "Active" in the Cases entity in Dynamics CRM 365.

 

After I filter all the active cases, I would like to display the case's title of the active ones, and the total of the active cases in an HTML table for I use it in the email template.

 

What are the actions I should use to build this flow and the query to select all the active cases and to calculate the total of the actives ones to display them in an HTML table?

 

Can please someone explains in detail and provides examples to achieve the following flow?

Any help will be greatly appreciated.
Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to filter all the status Active cases - Calculate their total and send them in an email?

Hi @Julien2 ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the Select as below:

item()?['cdmtmp_fullname']

 

The expression in the Send an email action as below:

length(body('Filter_array'))

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: How to filter all the status Active cases - Calculate their total and send them in an email?

Hi @Julien2 ,

 

Please refer to screenshot below to create the flow:

1.png

 

The expression in the Select as below:

item()?['cdmtmp_fullname']

 

The expression in the Send an email action as below:

length(body('Filter_array'))

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: How to filter all the status Active cases - Calculate their total and send them in an email?

Hello @v-alzhan-msft ,

 

I have achieved this flow through the example you mentioned.

Thank you very much for your support!

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,842)