Business rules we moved into PROD instance are not executing. Can't figure out why
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2022 08:27 AM
We created a scoped app to monitor the Progress Worker table and create an incident if errors are found. Even though we find errors when we search the table our business rules are not executing. Does anyone know how we can find out why they are not executing? Is there a permission tied to a scoped app that would prevent it from running in PROD? Everything works in all of our DEV and TEST instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2022 08:31 AM
Hi,
Can you look at the condition of the business rule and try to match it to the actual data from production?
Also, how are you testing it in QA VS Prod. Like in QA do you manually generate error or let the progress worker throw the error itself?
If anywhere in the transaction setWorkflow(false) is used then the BRs will not trigger for that transaction.
That would be a place to start investigating.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 05:46 AM
Is there anyway to check to see if permissions are correct for the business rule or if it is being executed at all? We are seeing the error condition in PROD but we are not seeing anything in our log files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 07:47 AM
We found the issue. The "contains" clause in the Business Rule is case sensitive, so it satisfying our query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 08:01 AM
Yea, I was saying that look at the condition of the BR, there is something there.
glad you solved it.