cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LuisGuzman98
Level: Powered On

Creating a report of created items

Hello friends, 

 

I am creating a flow for updating or creating items in a sharepoint list from an excel file. Already working tight. 

 

By now I would like to create some kind of report every time the flow runs with the number of items that where created and the number of items that where updated. 

image.png

What would be a way to count each of this items and store that value??

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Creating a report of created items

Hi @LuisGuzman98 

 

Create 2 variables

 

Variable 1:

Name - ItemsAdded

TYPE: Integer

default value - 0

 

 

Variable 2:

Name - ItemsUpdated

TYPE: Integer

default value - 0

 

Next : after the create item action

use increment variable action

increment the item added variable by 1

 

 

also, after the update item action

use increment variable action

increment the item updated variable by 1

 

After all actions read values for the variables it will give you the counts

 

Regards,

Reza Dorrani

 

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

1 REPLY 1
Dual Super User
Dual Super User

Re: Creating a report of created items

Hi @LuisGuzman98 

 

Create 2 variables

 

Variable 1:

Name - ItemsAdded

TYPE: Integer

default value - 0

 

 

Variable 2:

Name - ItemsUpdated

TYPE: Integer

default value - 0

 

Next : after the create item action

use increment variable action

increment the item added variable by 1

 

 

also, after the update item action

use increment variable action

increment the item updated variable by 1

 

After all actions read values for the variables it will give you the counts

 

Regards,

Reza Dorrani

 

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 271 members 5,269 guests
Please welcome our newest community members: