cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Regular email with unassigned cases count

Hey,

 

We are trying to create a flow that will query and count all cases assigned to a specific user and then email the number of cases currently assigned to said user - every 30min (if statement to not send the email if count is 0 will be created later).

 

I'm assuming its a scheduled flow. We have this and then an action to list cases from dynamics.

Here we get stuck. How do we convert the queried data to a simple number/variable to use for the if/email?

 

We are new to Flow and are learning quickly (our developer had custom workflows, but has since left the company and we are trying to migrate it all to Flows.)

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Administrator
Administrator

You can use the expression to count the number of the records

length(body('List_records')?['value'])

View solution in original post

5 REPLIES 5
Regular Visitor

bump

Administrator
Administrator

Deleted

Hey,

 

Thank you for the info, but this is specific for our dynamics environment.

In short, we have all autogenerated cases auto-assign to the "Support Queue" team as owner.

 

What we need is an email every 30m that just reminds users to check the queue if it's not empty and show the count of cases assigned to "Support Queue".

 

I thought this should be quite easy to achieve with flow, but I'm struggling to find a way to filter and count cases that are assigned to "Support Queue" and then dump it into an email body.

Administrator
Administrator

You can use the expression to count the number of the records

length(body('List_records')?['value'])

View solution in original post

Thanks a bunch, didn't even know about compose. Just went through and replaced tons of variables in my other flows as well!

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (24,056)