Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Create new item or update existing item

Here is the scenario where I need help from community:


"PageTitle" is a required field. This field is used as important conditional check field. Also there is "Status" choice field with New,Active,QA,Closed as choice values.


When an item is submitted in SharePoint list, automate the workflow as below:


  • IF it is an existing record(PageTitle), then 
    • IF the Status is Closed, then 
      • Create a new record for that PageTitle 
    • ELSE update the following fields: 
      • Comments
      • Flag Count ++ 
  • ELSE 
    • Create new record 


Can I get help from someone in the community!


Super User III
Super User III


Please expand on what you need - the more information the better.  For example, where is your data stored?  SharePoint?  What will kick off/trigger your Flow?  More is better when it comes to providing this information.


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Resident Rockstar
Resident Rockstar

i believe this flow is what you described.


if page title is not unique though you may run into issues, it seems like it is not unique if you are creating another record if one is closed off, as long as two that are open do not exist then you should be ok otherwise both will get updated.Annotation 2019-11-01 073428.png

@Gristy , Can you please provide me the expressions(formulas) that you have used. I would like to take a try. 

It was just length passing in the value returned from get items

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,541)