How does the default envelope expiration days work?
It is not working on our DEV environment.
UPDATE
Envelopes sent from the docusign site do have the correct expiration.
Envelopes sent from the API do not use the default expiration days. Does this need to be set in the code?
Thanks for the quick responses!
Ron
Page 1 / 1
By changing the default settings it will only apply to any new envelopes you send. Any existing envelopes will have to be manually corrected with the new expiry settings as settings are for when it was created.
Robert -
Check out my bio for contact details.
Hello,
Thank you for reaching out here in the DocuSign Community.
I'm sorry to hear that the expiration is not working as intended, however, to better understand your issue, I would like to gather more information.
Was a template used to send that envelope or created from scratch? If you created it by template, can you try creating it from scratch?
Let us know if you need further assistance with this.
Best regards,
Nathaly | DocuSign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!
UPDATE
Envelopes sent from the docusign site do have the correct expiration.
Envelopes sent from the API do not use the default expiration days. Does this need to be set in the code?
Thanks for the quick responses!
Ron
So if using the API you would need to specify the expiry settings.
Hello,
Thank you for reaching back and for your assistance.
There is a setting for UseAccountDefaults that can be used to set the expiration and reminders set on your account for envelopes sent through API. A recommendation would be to set UseAccountDefaults to be True to use the account setting, otherwise, you can manually set reminders and expirations if desired on already sent envelopes: https://developers.docusign.com/docs/esign-soap-api/reference/sending-group/create-and-send/
Let us know if you need further assistance with this.
Best regards,
Nathaly | DocuSign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!
I read all your comments and something is not right in my C# code using Docusing SDK 8.
Key points :
Using Docusing SDK 8 with C#
Using developer account
I’m creating the envelope from a template.
I changed the expiration days in docuSign settings
These are the lines of code :
// Get the envelope definition after configuration var envelopeDefinition = config.GetEnvelopeDefinition();
// Set the envelope status to "sent". The signer will get an email from DocuSign envelopeDefinition.Status = "sent";
// Set expiration date envelopeDefinition.ExpireEnabled = "true"; // Enable expiration envelopeDefinition.ExpireDateTime = DateTimeOffset.UtcNow.AddDays(14).ToString(); envelopeDefinition.ExpireAfter = "14"; // Set expiration days
// Create the envelope on DocuSign (it will not be sent due to the "created" status) EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(this.account.AccountId, envelopeDefinition);
// Get envelope created to verify the expiration values Envelope envelope = envelopesApi.GetEnvelope(this.account.AccountId, envelopeSummary.EnvelopeId) ?? throw new Exception($"Error cannot get envelope status.");
The envelope were created successfully but the “Expire” fields keeps taking the default value (120) even after I changed the default values in the DocuSign Admin settings.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.