Skip to main content

Hello, 

 

I am using a custom object for all of my invoicing - and my users currently create invoices via a Flow with input screens. 

 

I have recently implemented DocuSign - and have created a custom "Send with DocuSign" button on my Invoice__c object that contains all my desired DocuSign functionality. 

 

The only trouble is, now my users need to push one button to launch the Invoice Create Flow, and then click the "Send with DocuSign" button to actually send the invoice. 

 

Is there a way that I can tack the JavaScript from my "Send with DocuSign" button on the end of my "Invoice Create Flow"?  I effectively want the flow to push the button upon completion. 

 

 

Is this possible? 

 

Thanks, 

 

John
3 respuestas
  1. 12 abr 2017, 14:07
    John, you might have to launch Invocable Apex and then execute JS within the class. I have never done it before but the following thread sheds some light on how you can execute JS within Apex:

     

    https://developer.salesforce.com/forums/?id=906F000000093zeIAA

     

    I would come up with something and post whatever code you have on salesforce stackexchange to get better assistance.

     

    Good luck!
0/9000