
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 01:17 AM
I am trying to implement an opt-in kind of feature. If the user updates the value of sys_property to true, a script needs to be executed.
How can this be achieved?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 01:21 AM
Hi Prakhar,
You can update the scheduled job with an if condition, checking if the value of the property is true or false.
Regards,
Deepankar Mathur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 01:19 AM
Hello,
You can write a after update BR on sys_property table with condition as Value changes to true and write your logic in BR script
Please mark my answer correct if it helped you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:44 AM
insightful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 01:21 AM
Hi Prakhar,
You can update the scheduled job with an if condition, checking if the value of the property is true or false.
Regards,
Deepankar Mathur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 03:54 AM
Hi,
why not use flow designer which has zero-low code instead of after update Business rule
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader