We need a bit more information about what you are trying to do. It sounds like you are trying to generate a digital signature on a document. Are you using Pega's OOTB DocuSign connector? Is the target PDF document an attachment on a case? Please describe your workflow / sequence of what you are trying to accomplish in a bit more detail.