Advertisement
airton-junior

bloco de notas

Aug 18th, 2022
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. Has_Support_Plan__c = True &&
  2. NOT ISPICKVAL(Support_Level__c, "Platinum") &&
  3. NOT ISPICKVAL(Support_Level__c, "Gold") &&
  4. NOT ISPICKVAL(Support_Level__c, "Silver")
  5.  
  6. Cenário 1
  7. Has Support Plan - Ativado
  8. Support Level - Warm
  9.  
  10. Cenário 2
  11. Has Support Plan - Ativado
  12. Support Level - Gold
  13.  
  14. Cenário 3
  15. Has Support Plan - Desativado
  16. Support Level - Silver
  17.  
  18. Cenário 1
  19. Tabela da Verdade
  20. C1 C2 C3 C4 R
  21. v v v v v (erro)
  22.  
  23. Cenário 2
  24. Tabela da Verdade
  25. C1 C2 C3 C4 R
  26. v v f v f (segue)
  27.  
  28. Cenário 3
  29. Tabela da Verdade
  30. C1 C2 C3 C4 R
  31. f v v f f (segue)
  32.  
  33.  
  34. & - Concatenar
  35. && - And
  36. || - Or
  37.  
  38. or ( cod1, cond2, cond3, cond4) - Basta um v para ser v
  39. And ( cod1, cond2, cond3, cond4) - Tudo V - Para ser V
  40.  
  41. Support_Level__c (Custom field - picklist)
  42.  
  43. ISPICKVAL(Support_Level__c, "Platinum") --> True
  44. --> False
  45.  
  46. ISPICKVAL(Support_Level__c, "Gold") --> True
  47. --> False
  48.  
  49. ISPICKVAL(Support_Level__c, "Silver") --> True
  50. --> False
  51.  
  52. Has_Support_Plan__c (custom field - checkbox)
  53. Quadradinho ativado = True
  54. Quadradinho desativado = False
  55.  
  56. Has_Support_Plan__c = True -> True
  57. -> False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement