Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(probability >= 50 && renderVal){
- //component.set('v.renderVal',false);
- component.set('v.oppRecord.notificationCheckBox', true) // check
- component.find("recordHandler").saveRecord(function(saveResult) {
- if (saveResult.state === "SUCCESS" || saveResult.state === "DRAFT") {
- var urlEvent = $A.get("e.force:navigateToURL");
- urlEvent.setParams({
- 'url' : 'apex/dsfs__DocuSign_CreateEnvelope'+ ',null,' +
- '[SourceID = Opportunity.Id,
- LA = 0,
- DST = '----',
- CRL = 'LoadDefaultContacts~1' ] '
- "isredirect": "true"
- });
- urlEvent.fire();
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement