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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans