You need to sign in to do that
Don't have an account?
Pranathi Anukuri
in account of all records when the description field is empty,the empty field should filled with given data using trigger
In account List of all records, when the description field is empty, the empty field should filled with given data(This is my new Description)using trigger
Greetings to you!
Please try the below code, I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
You don't need a trigger for that. Because a trigger is Apex code that executes before or after the following types of operations:
insert, update, delete, merge, upsert, undelete
You can mass update records by executing below code in anonymous window.
Developer Console -> Debug -> Open Execute Anonymous Window
I hope it helps you.
Kindly mark this as solved if the information was helpful. It will help to keep this community clean.
Thanks and Regards,
Khan Anas