Business Rule configured for Insert only runs after record update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi everyone,
I’m having an issue with a Business Rule that is configured to run **After Insert / Update**, but it does not execute during the initial record creation.
The Business Rule has the correct table and conditions configured. However, when the record is created, the rule does not run at all — even the `gs.info()` logs at the beginning of the script are not generated.
What is strange is that once I manually update any field on the same record, the Business Rule executes correctly and the logic works as expected.
I already validated the following:
* The Business Rule is active.
* The table is correct.
* The **Insert** option is enabled.
* The configured conditions are met when the record is created.
* I temporarily tested with a very simple condition such as `Active is true`, but the Business Rule still did not execute on insert.
* There are no logs generated during the initial creation, which makes me think the Business Rule is not being triggered at all.
* Once any field is updated afterward, it executes normally.
* The same logic/code is being used in similar Business Rules for other tables, and it works correctly on insert there. The issue only happens with this specific table/process.
The record is being created through a process where some related/reference fields are populated during the creation process.
Has anyone experienced a situation where a Business Rule configured for **Insert** only starts executing after a subsequent update?
Any suggestions on what else I should validate would be greatly appreciated.
Thanks!
