Business rule table

amarja1
Kilo Contributor

How do write a business rule to insert a caller name if it a vip on a table?

3 REPLIES 3

darius_koohmare
ServiceNow Employee
ServiceNow Employee

Hi Amarja, can you provide a more detailed of what you are after?


A.) What are the conditions that would trigger the rule (e.g. the user's VIP field is set to true)


B.) What actions do you want to take if the conditions met (e.g. increase priority, set a different field to VIP, etc.)



'vip on a table' - what table did you mean?



If no scripting is involved, here's a basic overview of business rules: ServiceNow Express | Business Rules in Geneva - YouTube


Hi Darius,



I want to trigger the business rule when the caller is a VIP


the action would be that every time the caller field is set as a VIP , I want to insert the name of that particular VIP in my newly created VIP table.


Hi Amar,



Create Before/After Business rule in your table. Use condition as caller.changesTo('VIP'). Then this business rule will run everytime when the caller field is changed to VIP. Use gliderecord in that business rule.



Thanks,


rasith.