Docusign interview question

Write a trigger, design pattern