+ 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