Skip to main content

Notifications

Power Automate - General Discussion
Answered

When an item is created,create item with the same ID in another list

(0) ShareShare
ReportReport
Posted on by

When an item in sharepoint List A is created, create an item in sharepoint List B with the same ID. I'm currently not getting the same ID in the second list.

 

Is there any conditional logic or primary key constraint that needs to be set?

  • Re: When an item is created,create item with the same ID in another list

    Hi @Anonymous ,

    As @yashag2255  said, the Id field couldn't be manually set in sharepoint.

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • RobElliott Profile Picture
    RobElliott 10,012 on at
    Re: When an item is created,create item with the same ID in another list

    Further to @yashag2255's answer, all you can do is to add a number column in List B and populate it with the ID from the List A item. Then you'd not show the List B ID column in your view but just the new column you'd added.

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • Verified answer
    yashag2255 Profile Picture
    yashag2255 24,442 on at
    Re: When an item is created,create item with the same ID in another list

    Hi @Anonymous 

     

    The ID field cannot be manually set in SharePoint. It is a unique identifier for that item and is auto generated from SharePoint. There is no way you can alter the ID of an item. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard