web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - General Discussion
Answered

created and modified item

Like (0) ShareShare
ReportReport
Posted on 9 May 2022 11:40:22 by 87

I Have a 5 sharepoint lists i need to gather them in a one sharepoint list (and the items will be modified always) i need a way to split the automate from created and modified 

-when the item is created i need to create an item in the master sharepoint list 

-when the item is modified i need to update the same item that is modified 

 

  • Verified answer
    leo85 Profile Picture
    602 on 09 May 2022 at 13:24:14
    Re: created and modified item

    Hi @Yazeed_Ablan ,

    you can create two flows and use different triggers to differentiate between "created" and "modified".

    For "created" use the SharePoint trigger "When an item is created".

    leo85_0-1652102582107.png

     

    For "modified" use the SharePoint trigger "When an item or a file is modified".

    leo85_1-1652102609677.png

     

    Regards,

    Leo

     

    --------------------------------

    If my answer solved your issue, please mark it as a solution.

    If what I wrote helped you, please give it a thumbs up.

     

  • Verified answer
    vivekpande18 Profile Picture
    894 Super User 2024 Season 1 on 09 May 2022 at 15:51:53
    Re: created and modified item

    Hi @Yazeed_Ablan ,

     

    You can implement your functionality in single only. Find below steps:

     

    1- Trigger 

    vivekpande18_0-1652111078890.png

    2- Get the current item version

    vivekpande18_1-1652111137689.png

    Note :  you can get this version number in dynamic content.

    for new item : version number = 1.0

    for modified item : version number > 1.0 ex. 2.0,3.0 & so on..

     

    3 - Condition

    vivekpande18_3-1652111287449.png

     

    float(variables('ItemVersion'))  is equal to 1.0 
    Yes : create an item in the master sharepoint list 
    No : update the same item in the master sharepoint list
     
    Thanks
    Vivek
     
    If this answers your query, accept this as solution & if you like my response provide thumbs up.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Loading complete