trace_rule_execution
Check which business rules apply to an employee for a specific event. Debug why a field got a certain value by seeing rule matches and their conditions.
Instructions
Trace which business rules would apply to an employee for a given event.
Fetches the employee's current data, then checks each configured rule's conditions against that data. Shows which rules match, which don't, and why. Invaluable for debugging "why did this field get this value?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Employee userId to trace rules for | |
| event_type | Yes | Event type: 'onSave', 'onChange', 'onInit', 'validate' | |
| base_object | Yes | Base object (e.g., 'JobInformationModel', 'CompInfoModel') | |
| data_center | No | ||
| auth_user_id | No | ||
| auth_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||