function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mahesh p 54mahesh p 54 

When i am in stage 1 i had a field called probability with value as 5% now when i go to stage 2 i need to change probability to 10%?

I have a path in my org which i am using it in the lightning component as lightning:picklistpath.How to change probability field value based on stage selected in the path in lightning component.
({
    handleSelect : function (component, event, helper) {
     var stageName = event.getParam("detail").value;
     testEvent.setParams({
       "variant": "Success!"
        });
        testEvent.fire();
    }
})
how to get probability field  and change the value based on the stage selected?
please help me in resolving this