You need to sign in to do that
Don't have an account?

How to write an Apex trigger to fire on a status change
Hi.
I'm stuck on creating a trigger which fires when a status changes on a record on the 'Placement' object (very new to development). Basically I want the trigger to fire and call a HTTP request class when the 'Status' on the Placement object changes from '8 - Offer Accepted' to '9 - Induction Booked'.
How do I start??
Any help is much appreciated!
Many Thanks,
Natasha
I'm stuck on creating a trigger which fires when a status changes on a record on the 'Placement' object (very new to development). Basically I want the trigger to fire and call a HTTP request class when the 'Status' on the Placement object changes from '8 - Offer Accepted' to '9 - Induction Booked'.
How do I start??
Any help is much appreciated!
Many Thanks,
Natasha
Here is the Trigger :
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi