Ready to be ported
Some rules may look like they failed but this is expected behaviour. If you have 2 rules on entity insert on different bundles they will both be triggered when you insert a node but only the right bundle will have success.
Often I'm forced to add all these watchdog loggers
to be able to check if a rule or an action has been fired.
Many of the rules and action are fired on CRON runs or triggered on REST requests and routes.
Have a sub-module with an custom entity much similar to watchdog and trasfer the data from business_rules to this and display it with dbug styling when visited.
Logs are located at: /admin/reports/br_log
Enable the logging in /admin/config/workflow/business_rules/settings
Fixed:
Please read the README.txt for more details located in br_logs sub-module.
API
---
// Information to be stored with the log.
$fields = [
'description' => $rule_data['#description'],
'items' => $rule_items,
'rule_status' => $rule_status,
'variables' => $variables,
];
// Call br_logs service
\Drupal::service('br_logs')
->rulesLogger($type = $rule_id, $rule_data['#title'], $rule_data, $fields);
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.