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
davidjbbdavidjbb 

Trigger After Update

Hello,

 

I have a mobile app that ties into the salesforce fields, which the mobile will update certain salesforce fields.

 

Can I use the after update trigger based on those changes? If so, please advise on how to proceed.

 

or does the trigger only activate when a salesforce user goes "edit/save"

 

Cheers,

davidjbb

Best Answer chosen by Admin (Salesforce Developers) 
b-Forceb-Force

Apex trigger are run on database level, 

If you update any record from anywhere like UI, API, Rest API trigger will fire and you can achivce desired result

 

Thanks,

bForce

All Answers

ShamilShamil

davidjbb, the answer is 'yes you can', the trigger will fire regardless of how you perform a DML operation on a record. 

b-Forceb-Force

Apex trigger are run on database level, 

If you update any record from anywhere like UI, API, Rest API trigger will fire and you can achivce desired result

 

Thanks,

bForce

This was selected as the best answer