cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Super User
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
Super User
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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 158 members 4,889 guests
Please welcome our newest community members: