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
Becky Miller 15Becky Miller 15 

Custom Button - Process Builder or Flow

I have a custom button that SELECTS a Product for the Opportunity Lines.   This works great

Addition that is needed:
When the product is SELECTED and the Number of Years = 1 or greater  ---  I need it to populate a value  that is on the Opportunity Line Number that equals the number of years.  I am not sure the best way to get this to work.  If the Number of Years = 0 I do not want to change the dollar value for them.  


Do I need to use a Flow or Process builder?
 
Best Answer chosen by Becky Miller 15
karthikeyan perumalkarthikeyan perumal
Hello, 

Use process builder  for this kind of  use.  use below example for your reference. 

https://automationchampion.com/tag/update-reocrd-action-process-builder/

Hope this will helps you.  let me know if you  need any help.

Thanks
karthik
Skype: rajam.karthik