Declining a document does not update signing status
Wednesday, February 21, 2018 at 04:21amHi,
I've come across a situation where a signers signing status for a particular document does not get updated when the document is declined.
It can be reproduced as follows:
1. Create a package with 1 document and 1 signer.
2. Enter the signing ceremony and decline the document.
3. This puts the package into the DECLINED status
4. The signer that declined is still in the SIGNING_PENDING status (This is the bug)
The following code displays how I'm retrieving the signing status for both the package and the individual signer for a document. Please let me know if this is a bug or if I'm doing something wrong. I am using the .NET SDK 11.8. Thanks. -David
static void Main(string[] args)
{
Console.WriteLine(nameof(DocumentPackageStatus.DECLINED));
WritePackageSignerStatuses(eslClient.PackageService.GetPackages(DocumentPackageStatus.DECLINED, new PageRequest(1, 10)));
}
private static void WritePackageSignerStatuses(IEnumerable packages)
{
foreach (var package in packages)
{
var packageStatus = eslClient.GetSigningStatus(package.Id, null, null);
Console.WriteLine($"Package {package.Id} is {packageStatus}");
foreach (var document in package.Documents)
{
Console.WriteLine($"\tDocument {document.Name}");
foreach (var signature in document.Signatures)
{
var signatureStatus = eslClient.GetSigningStatus(package.Id, package.Signers.First(x => x.Email == signature.SignerEmail).Id, document.Id);
Console.WriteLine($"\t\t{signature.SignerEmail} is {signatureStatus}");
}
}
Console.WriteLine();
}
}
Reply to: Declining a document does not update signing status
Wednesday, February 21, 2018 at 05:34amReply to: Declining a document does not update signing status
Monday, February 26, 2018 at 04:21amReply to: Declining a document does not update signing status
Thursday, April 19, 2018 at 09:03amReply to: Declining a document does not update signing status
Tuesday, April 24, 2018 at 06:50amReply to: Declining a document does not update signing status
Wednesday, April 25, 2018 at 10:40am