cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Increment a number in a Sharepoint list

I am very new to Power Automate. I am trying to create an approval flow. I know the templates are out there but do not meet the requirements. Everything is working fine but I need to be able to update the number of people who have approved the document each time an approval is received.

The field in the Sharepoint list is defined as follows:

FieldDefinition.png

The start of the flow looks like this:

StartofFlow.png

The remainder of the flow looks like this

RemainderofFlow.png

The expression being used looks like this

add(triggerBody()?['Approver_x0020_Count_x0020_1'],1)
 
The goal is to increment the Approver Count 1 field by 1. This does not seem to be working well. 
 
I am using parallel branches for each of the approvers. The Approver Count 1 field only ever advances to "1" regardless of how many people have approved the document.
 
Any help is greatly appreciated.
1 REPLY 1
Super User II
Super User II

@DwightSlessman 

 

You can initialize a integer variable after the trigger.

After approval process increment that variable using action "increment Variable". 

You need to create more variables if using more approvals parallelly.

ResultResultLogicLogic

Thanks

Hardesh

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 (95,377)