Hello.
I need a column called Version #/Version_x0023_ on my SharePoint lists to increment by 1 every time the item is modified. It is working when the user modifies the item once, but not for multiple modifications of the same item.
Basically, the flow triggers when an item is created or modified in my SP list. Then, I retrieve the item and create a new item using the same info in another SP list. Then I use a switch action for two cases: when the project status is open and when the project status is modified. The flow is able to change an item's version # from 1 to 2 after the user modifies the item once, but not from 2 to 3 and beyond when the user modifies the item again.
I have attached screenshots. The compose action contains the formula "if(equals(body('Get_item')?['Version_x0023_'], null), 1, add(int(body('Get_item')?['Version_x0023_']), 1))".


