Rules can be a useful tool alongside machine learning. Your company may have unique business policies that you’d like to implement within Ravelin regardless of Fraud score. For example, you may want to:
Rules allow you to implement this business logic as specific actions to be taken whenever an order matches the conditions that you define.
If this is your first time using rules in the Ravelin dashboard, please check out our getting started guide.
<aside> 💡
Please select the :triangle_expand: symbol to expand the below topics
</aside>
You can define specific time durations (Time/Age) directly within your Datalist columns and standard rules.
Supported Time Units
y = Yearsw = Weeksd = Daysh = Hoursm = Minutess = SecondsHow to format your data
Combine units: You can string multiple units together to create specific durations.
3d (3 days), 1y2w3d (1 year, 2 weeks, 3 days), or 1h30m (1 hour, 30 minutes).1d2w3y (this will result in an error as the order is important)No spaces allowed:
Ensure there are no spaces between your numbers and letters.
Correct: 3d2h
Incorrect: 3d 2h (This will result in an error)
Use whole numbers for extended units: Avoid using decimals or fractions for days, weeks, and years.
1d12h1.5d (This will result in an error)Bare numbers default to microseconds: If you type a standalone number without a unit letter (e.g., 1000), the system will automatically read it as microseconds. Always include your unit letters to avoid unexpected behaviour.