All Products
Search
Document Center

Fraud Detection:Create an event

Last Updated:Jun 30, 2026

This topic describes how to create an event in the Decision Engine.

Background information

What is an event?

  • Relationship between business scenarios and events

    A business scenario that requires risk control maps to an event in the Decision Engine. For example, an account registration scenario maps to a registration fraud detection event, a marketing campaign scenario maps to a marketing fraud detection event, and a loan application scenario maps to an application anti-fraud event.

  • Purpose of an event code

    You can create an event by defining a business scenario, and then configure and operate a full set of risk control policies for that event. Each event is assigned a unique event code. When you call the Decision Engine, pass the event code to route the request to the corresponding policy set for evaluation. The Decision Engine then returns the result.

Procedure

Step 1: Go to the Event Management page

  1. Log on to the Fraud Detection console.

  2. In the left-side navigation pane, choose Decision Engine > Event Management.

  3. On the Event Management page, click Create Event. You can configure the parameters as described in the following sections.

Step 2: Configure event parameters

  1. Basic information

    1. Event name: Enter a name for the event. Use a name that clearly describes the business scenario. The event name cannot be changed after creation.

    2. Event description: Enter a description for the event. Add notes about the business context for future reference.

  2. Event fields

    Add the fields for the event. Fields represent key data points for the business scenario. You use these fields to build policies and derive variables (features). You can add fields in the following ways:

    1. Add from a template: Fraud Detection provides field templates for various scenarios based on Alibaba Cloud's best practices in risk control. Select a template from the drop-down list and click Add to Table to add the fields.

    2. Manually add fields: Two methods are available.

      Note

      When adding a custom field, you must select from fields already created in the field management module.

      1. Add built-in fields. The Decision Engine includes many built-in fields for common risk control scenarios. In the field input box, enter a keyword to perform a fuzzy search (recommended).

      2. Create a custom field: If no existing field meets your needs, create a new one. Click the + icon, click New field from the field drop-down list, and then enter the required information, such as field name, display name, and field type. To delete a field, click Delete in the Actions column, and then click OK in the confirmation dialog box.

  3. Submit and complete

    Click Submit to create the event. After the event is created, you are returned to the Event Management page. The system automatically assigns a unique event code (eventCode). This code is used to route requests in API calls.