wendyguo

how to use notifySigner method

0 votes

Hi

I am trying to use notifySigner via Java SDK, how can I use the below method, what is groupId?  how can I create/get groupId via SDK java.

 

eslClient.getPackageService().notifySigner( packageId, groupId );

Thanks

Wendy


Reply to: how to use notifySigner method

0 votes

Hi Wendy,

 

For individual signers, this function has anther signature:
public void notifySigner(PackageId packageId, String signerEmail, String message)

 

The second parameter could be either the signer's email or the custom ID. For email message, if you pass in empty string "", it won't override the default signer message.

 

Duo

 

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Hi Duo,

For individual signers, this function has anther signature:
public void notifySigner(PackageId packageId, String signerEmail, String message), you mentioned that the second parameter could be customer ID, what do you mean customer ID? Do you mean SignerID?

 

How can I use notifySigner(packgeId, groupID)? how can I get a create via java SDK

Thanks

 

Wendy

 


Reply to: how to use notifySigner method

0 votes

Hi Wendy,

 

For the "notifySigner(packgeId, groupID)", it only works when the signer is a group. Group has its fixed group ID, therefore it might facilitate your usage. Actually, if you always give signer a custom ID, you might lean towards using the same function "notifySigner(PackageId packageId, String signerEmail, String message)" versus depending on the signer type. 

Here, the custom ID should be specified during package creation:
        DocumentPackage pkg1 = PackageBuilder.newPackageNamed("Example Package ")
                .withSigner(SignerBuilder.newSignerWithEmail("[email protected]" )
                        .withFirstName("John")
                        .withLastName("Smith")
                        .withCustomId("Signer1"))

       ......

 

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to:

0 votes

Hi Duo,

I tried this method

notifySigner(PackageId packageId, String signerEmail, String message)

I can receive the notify email, but I could not see where the message is set. How can I find out where the message is stored? BTW, when I createPackage, I didn't set message. Also is there is a length limit for the message?

 

Thanks

Wendy


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off