Creating Package from Action and Error Handling

0 votes

I have been asked to provide a button action (I assume action since we are Lightning Experience) that will allow users to click on record page to create a Package. I see that there is a rather simple way provided to do this, however I am being asked to receive the status back and write it to the object record that the Package was initiated from. Is there any example of a way to do this, any example code etc.? 

If we did stick with the out of box was to create a transaction from an action what would happen if there was an error? Would the user be informed? What would happen if the user clicked the button repeatedly? Would it create a transaction each time? 

Reply to: Creating Package from Action and Error Handling

0 votes

Hi Scott,


Thanks for your post! Have you tried to add the transaction list view to the object record layout(let's say opportunity)? It lists all the transactions initiated from this object record and already implemented the status change callback:


If you head to object manager -> choose object record -> page layouts -> related list -> you'll find "e-Signlive packages" option


And click on the action button repeatedly will create multiple transactions, all will be listed in the transaction list and can be accessed and managed from there.





Duo Liang OneSpan Evangelism and Partner Integrations Developer

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