Skip to main content
SF Admin 님이 #Sales And Marketing에 질문했습니다
Hello,

 

Here it is:

 

 if({!CONTAINS("AUSTRALIA:FIJI", UPPER(Opportunity.Account.BillingCountry ))} || ({!Opportunity.end_user_account__r.BillingCountry } != null && {!CONTAINS("AUSTRALIA:FIJI", UPPER(Opportunity.end_user_account__r.BillingCountry ) )}))

 

  {window.alert("Test message"}

 

  }

 

Its not working. Above script states that for any opportunity having Account Country or End User Account Country (End User Account is a lookup Account field at Opportunity level) Australia or Fiji, alert pop up should appear.

 

In addition to this, it should popup only if the opportunity is just created.

 

Thanks
답변 2개
  1. 2020년 4월 8일 오후 4:54
    I did something similar but used a simplier method with process builder. This created custom alerts in the top right hand corner (the bell) anytime we would get a new case. You can set the permission set to whatever criteria you want but it would be easier then creating a customer script.
0/9000