event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:04 AM
Hello All,
In the Alert table, the closed at field is empty for closed records. I checked if there is any BR and found one BR rule '(COR) - Stamp Closed At' but it is working fine. can anyone help with this?
Thanks,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:23 AM
@shivani42 Hii
Sure, I can help you with this. Here are some steps you can follow to troubleshoot this issue:
1. Check the Business Rule:
- Ensure that the Business Rule '(COR) - Stamp Closed At' is active and is set to run on the correct table (Alert).
- Check the conditions of the Business Rule to make sure they are correct. The rule should run when the record is updated and the state changes to 'Closed'.
- Check the script inside the Business Rule. It should be something like: current.closed_at = gs.nowDateTime();
2. Check the Alert Record:
- Make sure the state of the Alert record is indeed 'Closed'. The Business Rule will only run if the state changes to 'Closed'.
- If the state is 'Closed' and the 'closed_at' field is still empty, try manually updating the record to trigger the Business Rule.
3. Check for Other Business Rules or Scripts:
- There might be other Business Rules, Client Scripts, or Script Includes that are interfering with the '(COR) - Stamp Closed At' rule. Check for any scripts related to the Alert table and the 'closed_at' field.
4. Check the System Logs:
- If the 'closed_at' field is still empty after checking the above points, check the system logs. There might be an error message that can help you identify the problem.
5. Recreate the Business Rule:
- If all else fails, try recreating the Business Rule. There might be a hidden issue with the current rule that is preventing it from running correctly.
Remember, always test changes in a sub-production instance before applying them to your production instance.