+ Start a Discussion
Gaurav RajGaurav Raj 

Trigger on DocuSign_Status

Need help writing this trigger


whenever the status field on Docusign_Status shows completed, i need to fetch the pdf's link from its Notesand Attachement section.


I have written something like this


if docusign_status_c="completed"{

Select Id,(SELECT Id FROM Attachments)
FROM dsfs__DocuSign_Status__c
ORDER BY LastModifiedDate DESC LIMIT 1


can someone help me with further logic