I am trying to encrypt a pdf attached to an email in workflow. When I try to use a token for the password the token is removed when I click ok, thereby creating no password at all.
Not sure what I am doing wrong here.
I am trying to encrypt a pdf attached to an email in workflow. When I try to use a token for the password the token is removed when I click ok, thereby creating no password at all.
Not sure what I am doing wrong here.
Hi Darrell,
When you go back to check if the password you set works, can you confirm that you are selecting the entry you attached, and that you are not adding a new attachment each time you check? So when you are in the email editor, double click on the entry you attached to view the properties, instead of clicking add attachment.
This is just a display issue when you reopen the dialog. The token is saved in the Workflow definition.
How do I check the WF definition to verify? I went to the WF Admin console but am unable to open the specific, or any, definitions.
If you save the workflow definition locally, you can open it in a text editor. If PDF passwords are off, you'll see something like this in the Email activity's XML:
<UsePDFPassword>true</UsePDFPassword>
If it's got a password set, it will look like this:
<UsePDFPassword>true</UsePDFPassword> <PdfPassword> <SecureString Version="2" Value="JrN9SUAL1rc=" /> </PdfPassword>