business rule not working in production instance

Mayuri Khairnar
Tera Contributor

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 ?

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@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.