business rule not working in production instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2023 04:28 AM
we have business rule for onboarding a user.
when new user is created via ldap and created in servicenow this business rule triggers which contains cart api and takes values from user table in order to raise request of onboarding.
this business rule is working fine in DEV as well as Test instance as we can see the requests raised in dev and test but not working in Production. though the exact same business rule configurations are there. what might be the reason for not working in production ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2023 04:44 AM
@Mayuri Khairnar Couple of things to check.
1. Check if the conditions mentioned on the business rule condition builder is returning true for the business rule to trigger
2. Check if the conditions mentioned in the condition text field (one above the script field) of the business rule is returning true.
3. Check if there is any business rule which runs prior to your this business rule and uses current.setWorkflow(false); if used, it will not let this business rule to trigger
4. Check if the business rule is active
5. Check if there is any syntactical mistake in the script of your business rule.