--- title: "Creating Complex Rules in Risk Analytics Presentation Service" slug: "creating-complex-rules-in-risk-analytics-presentation-service" updated: 2025-07-04T10:07:20Z published: 2025-07-07T11:25:06Z canonical: "docs.onespan.com/creating-complex-rules-in-risk-analytics-presentation-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating Complex Rules in Risk Analytics Presentation Service Risk Analytics handles different types of rules, and Risk Analytics Presentation Service allows you to create compound rules based on previously defined workflows. The following articles outline these typical workflows: - Create complex rules with several dependent criteria—see [Adding several dependent history criteria to a rule](/sec/docs/creating-complex-rules-in-risk-analytics-presentation-service). - Monitor alerts which exceed a number of defined events within a given period—see [Creating a velocity rule containing dependent criteria](/sec/docs/creating-a-velocity-rule-containing-dependent-criteria). - Look for certain events that are occurring and count the difference in a specified criterion per customer or across the entire portfolio—see [Creating a difference rule: distinct count function](/sec/docs/creating-a-difference-rule-distinct-count-function). - Look for various events affecting one single person via match criteria—see [Adding match criteria to a rule covering your entire portfolio](/sec/docs/adding-match-criteria-to-a-rule-covering-your-entire-portfolio). - Combine different rules into one single memory rule—see [Combining rules—creating a memory rule](/sec/docs/combining-rules-creating-a-memory-rule).