Check system property value based on another property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 11:26 PM
Hi Team,
I have two system properties (let's says A and B) under email properties
A (true|false)
B (Sting)
When the property A is changed to true, I need to check the value of property B and if the value is empty the system should not allow me to save the email properties.
In simple words if Property A is True then property B must be mandatory. Is it possible to do it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 12:22 AM
Hi Jake,
You can create a business rule running on table "sys_properties" with condition only matches the property you want. Then in the script you can check the value and prevent updating if that is not valid.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Cuong Phan
Senior Consultant.
Cuong Phan
ServiceNow Technical Lead