Can anyone tell me how to write the trigger based on the approved records?
My use case is
I want to enter the records to queue if the record is approved by appropriate user.
I need an idea for this use case
Get the (custom object) record details in visualforce page and submit for the manager approval.
once he approved then the record should be submitted to the queue.
My question s how to write the trigger based on the approvals(Approved,reject and pending)
In which obj approvals are stored..
Thanks in advance