Need to be extend package expiry date of packages for counter signers.
Tuesday, October 15, 2019 at 08:53pmPlease find following requirement
condition-1: We have three signers, need to be signed.
condition-2: if signer one and signer two had signed and signer three not yet signed, if the package going to be expired in one day then we need to extend it.
This applies to all the packages which will meet the above conditions.
So do we have an event that will notify the expiry of the package one day before or prior to expiry?
So that we can handle this event for extend of the expiry date based on our requirement.
Reply to: Need to be extend package expiry date of packages for counter signers.
Thursday, October 17, 2019 at 02:43amDocumentPackage package1 = eslClient.getPackage(new PackageId("gQxS8Zgr_hGrmauGv3tnubbHfYU=")); Document document = package1.getDocument(document_name); for (Signature signature : document.getSignatures()) { if(signature.getSignerEmail().equals(signer_email)) { if(signature.getAccepted() != null) { System.out.println(signer_email + " signed " + signature.getId() + " at " + signature.getAccepted()); } } }If there's attachment required to a signer, also looping through all attachmentRequirements: To work around the expiry date, below are three potential solutions, that I'd like to discuss with you: (1)You can still wait until the package gets expired, grab the package and filtering through the signing status, and then extend it: Depending on your requirement, if a package was already in a "EXPIRED" status, but you still want to extend the expiry date for your signers. Simply update the package with a future expiration date, and the package will automatically convert to a "DRAFT" status: Next, you can modify the package, if necessary, and resend it. (2)Instead of depending on the callback notification, to use a middleware database storing all packages of their ID, expiry date, recipients signing status(using callback notification), so that you can run a batch script every day to filter through all packages meetting the requirement. (3)You can choose a certain time a day, actively polling packages that are still ongoing, from OneSpan Sign, then filter through the expiry date and the signing status. Hope this could help! Duo