Creating Package from Action and Error HandlingFriday, January 8, 2021 at 08:55am
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?