Changing Package Status to Draft
Wednesday, December 12, 2018 at 05:01amOne of our customer is currently working on rewriting their functionality for changing a package status to Draft, and they are running into some issues with getting the sdk’s functionality to work.
Here is the code that he has written so far, as well as the Logging outputs that he has to try and can you please help us to troubleshoot.
final EslClient eslClient = *I am retrieving the eslClient here with information passed into my method*
final PackageId packageId = new PackageId("I-Cd0CvwjGJbNfi6y6fm9SIpigw=");
LOGGER.info("Changing Package To Draft for: " + packageId.getId()); //Output: “Changing Package To Draft for: I-Cd0CvwjGJbNfi6y6fm9SIpigw=â€
eslClient.changePackageStatusToDraft(packageId);
final DocumentPackage retrievedPackage = eslClient.getPackage(packageId);
LOGGER.info("Retrieved Status: " + retrievedPackage.getStatus()); //Output: “Retrieved Status: SENTâ€
final SigningStatus signingStatus = eslClient.getSigningStatus(packageId, null, null);
LOGGER.info("Signing Status should be DRAFT: " + signingStatus.getToken()); //Output: “Signing Status should be DRAFT: SIGNING_PENDINGâ€
Help is appreciated.
Thanks,
Reply to: Changing Package Status to Draft
Wednesday, December 12, 2018 at 05:27am