web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Support for "ThisRecord" in low-code automated plugins

(1) ShareShare
ReportReport
Posted on by 4
Currently, the low-code automated plugins feature cannot be used for most purposes.  An automated plugin can be triggered when a record on a table is created, but interacting with that record cannot be done.  The "ThisRecord" function is not recognized, which is a huge problem.  Using "OldRecord" and "NewRecord" throws an error saying those functions cannot be used as the second parameter of a patch statement.  "Set" does not work (even though it is suggested in the built-in help) either.  Without some way to refer to the record that triggered the plugin, low-code automated plugins are not usable.
I have the same question (0)
  • korebreach Profile Picture
    4 on at
    Note:  There are plenty of online tutorials showing "ThisRecord" working with automated low-code plugins, which show that this function was apparently working at one time.  However, the function now appears to be unrecognized.
  • Suggested answer
    korebreach Profile Picture
    4 on at
    So, apparently ThisRecord works, but only in a certain context.  You can use a "Set" function with "NewRecord" to first tell the plugin you want to reference that record, and THEN you can use ThisRecord to refer to the fields you want to use from the record.
     
    Set(NewRecord.FullName,ThisRecord.FirstName&" "&ThisRecord.LastName)
     
    If I had to guess, that's because until you refer to "NewRecord", the record that was just added is in some sort of "quasi-added" state in the table it's not actually added yet.  Once you refer to "NewRecord", the plugin knows which record you are referring to and knows the fields, allowing you to use ThisRecord.
     
    Microsoft: This might be more straight-forward if ThisRecord simply refers to NewRecord on a create or update in an automated plugin.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans