Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

On create of custom record

(0) ShareShare
ReportReport
Posted on by 1,019

Hi,

I have a custom entity which have an ID that will be same for some records.

So, if anyone create the record with the same ID, then I have to auto update the newly created records with some some field values present on the existing record.

Please advise the steps and examples on how I can achieve this requirement?

Thanks

  • Rohith M Profile Picture
    Rohith M 15 on at
    RE: On create of custom record
    
    

    var myWidth="1000";
    var myHeight="1500";
    var left = (screen.width - myWidth) / 2;  
    var top = (screen.height - myHeight) / 4;

    width=' + myWidth + ', height=' + myHeight + ', top=' + top + ', left=' + left
  • Rohith M Profile Picture
    Rohith M 15 on at
    RE: On create of custom record

    executionContext

    if(executionContext.getEventArgs().getSaveMode()==2)

    abcd.close();

  • yify Profile Picture
    yify 1,019 on at
    RE: On create of custom record

    .

  • yify Profile Picture
    yify 1,019 on at
    RE: On create of custom record

    Thanks Lu

  • LuHao Profile Picture
    LuHao 40,876 on at
    RE: On create of custom record

    Hi partner,

    Has the problem been solved?

    Please click Yes under "Did this answer your question?" to close this thread.

    pastedimage1593510329859v1.png

    Thanks.  ;)

  • Verified answer
    LuHao Profile Picture
    LuHao 40,876 on at
    RE: On create of custom record

    Hi James,

    We will use flow to achieve it.

    Please set the flow as follow.

    pastedimage1593154789006v1.pngThe expression in the condition is length(body('List_records')?['value']).

    pastedimage1593154805735v2.pngThe "Record identifier" in "Update a record" is the primary key field of "When a record is created". Update fields in "List records" with the fields in "Update a record".

    Tested and ran successfully.

    pastedimage1593155545521v4.png

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans