Skip to main content
Glenn Daly (Pod Point) 님이 #Data Management에 질문했습니다
I have a process on the product2 object which deletes a pricebook entry (via apex) if it meets a certain criteria. The process has been failing if there is an opportunity attached. How can I go about adding this into my process builder criteria? So I want to check if the product is current being used on an opportunity, and if it is, then move onto the next criteria node
답변 3개
  1. 2016년 10월 11일 오후 1:12
    You would need to either populate a custom field on Price Book Entry with a count of all Opportunities using that entry - probably using Apex, or include in Apex a check first to make sure there are no entries appearing.  
0/9000