function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JasonH_AllerganJasonH_Allergan 

Update Record Button

Guys im trying to do something quick, simple, yet complex to me.

 

I want to create custom button that will change the "lastmodified to current user and Today()" /  or Open/Save the document so its been classified as updated to trigger workflow process.

 

either that or i would like to create a trigger so that when a new NOTE is created for a record, the record updates the last modified date.

 

Any ideas would be awesome

 

cheers

 

Jason

forcedotcomforcedotcom

Your best bet for this would be a trigger on the Note object, that updates a field (any will do) on the record you want to update the lastmodifiedby. If you don't know which field to update create a new checkbox or something. Good luck!

JasonH_AllerganJasonH_Allergan

Yeah, sadly i have 0 technical experience with Triggers :(

RavishankarRavishankar

You have no experiance about trigger so firstly you should learn about trigger from

SETUP>OBJECT>YOUR CUSTOM OBJECT>IN DETAIL PAGE >TRIGGER>NEW

IT IS SIMPLE LIKE SQL TRIGGER