Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. if(probability >= 50 && renderVal){
  2. //component.set('v.renderVal',false);
  3. component.set('v.oppRecord.notificationCheckBox', true) // check
  4. component.find("recordHandler").saveRecord(function(saveResult) {
  5. if (saveResult.state === "SUCCESS" || saveResult.state === "DRAFT") {
  6. var urlEvent = $A.get("e.force:navigateToURL");
  7. urlEvent.setParams({
  8. 'url' : 'apex/dsfs__DocuSign_CreateEnvelope'+ ',null,' +
  9. '[SourceID = Opportunity.Id,
  10. LA = 0,
  11. DST = '----',
  12. CRL = 'LoadDefaultContacts~1' ] '
  13. "isredirect": "true"
  14. });
  15. urlEvent.fire();
  16. }
  17. });
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement