Operator guideENtagsrulesdetail

Activity Tag Rules / Detail

Rule inspection page with backend identity, conditions, timestamps, impact estimate, run action, delete action, and recent application history.

Reader view

Clean portal guidance

This page keeps the operator explanation, field and action descriptions, and screenshots visible without exposing repo paths, raw sidecars, or editorial-only implementation details.

Narrative content

Page body

What this page shows

This page is the operator inspection surface for one backend rule. Use it to confirm the exact activity, tag action, condition set, timestamps, recent application history, and the current active-state before you run, edit, or delete the rule.

Main actions

  • Estimate Impact runs the SQL-backed estimate endpoint against current user activity data.
  • Run Rule triggers the backend execution endpoint for this rule ID.
  • Edit opens the grouped edit flow.
  • Delete soft-deletes the current backend rule.
  • Refresh reloads the current rule and application history.

Important caveats

  • Estimate Impact reflects only the conditions implemented in the backend estimate query.
  • Run Rule returns the backend execution result shape, but the traced service does not prove a full mass-processing implementation.
  • Recent Applications is limited to the latest ten rows requested by FE.
Calculation notes

Calculations

calculation

Estimate Impact Query

Formula Text
The backend counts `COUNT(DISTINCT ua.user_id)` from `user_activities ua` with optional joins to `users u`, then returns sample user IDs ordered by latest activity and limited by `sampleLimit` (default 25).
Operator Note
Estimate is SQL-backed and does not mutate any tags.
Verification Status
verified_backend
calculation

Supported Estimate Conditions

Formula Text
The traced backend estimate query supports `status`, `sequence`, `amount`, `paymentMethod`, `paymentProvider`, `withdrawalWithoutDeposit`, `country`, `documentsSubmitted`, `idVerificationStatus`, and `kycStatus`.
Operator Note
Other FE-only condition ideas should not be assumed to work unless the backend query supports them.
Verification Status
verified_backend
calculation

Recent Applications Scope

Formula Text
FE requests the latest applications with `limit=10`, ordered by `createdAt DESC`.
Operator Note
The detail page is a recent-history view, not a full audit explorer.
Verification Status
verified_backend
Field dictionary

Fields

field

Activity

Activity event that must occur before the rule can apply.

Group
rule-information
Data Type
composite
field

Tag Action

Whether the rule adds or removes the configured tag.

Group
rule-information
Data Type
composite
field

Description

Optional operator note stored with the rule.

Group
rule-information
Data Type
string
field

Conditions

Matching criteria currently stored on the backend rule.

Group
conditions
Data Type
json-object
field

Status

Current active-state of the rule.

Group
status
Data Type
boolean
field

Priority

Current execution priority of the rule.

Group
status
Data Type
integer
field

Created

Creation timestamp for the rule record.

Group
timestamps
Data Type
datetime
field

Updated

Last update timestamp for the rule record.

Group
timestamps
Data Type
datetime
field

Deleted

Soft-delete timestamp when present.

Group
timestamps
Data Type
datetime
field

Estimated Impact

Current estimated number of users matching the rule conditions.

Group
estimate
Data Type
object
Operational notes

Notes

item

Detail inspection depends only on gs-admin-backend.

item

The execution route is audited through tracking middleware, but the traced execution service itself remains limited.

Related references

Related pages

pageActivity Tag Rules

Operator documentation for activity-driven tag automation rules, including list, create, edit, detail inspection, and recent application history.

pageActivity Tag Rules / Create

Create flow for a new activity tag rule, including optional clone-from-existing behavior and condition testing.

pageActivity Tag Rules / Edit

Edit flow for one backend rule or a grouped add and remove pair, including split or merge behavior and condition testing.

pageActivity Tag Rules / List

Main inventory for activity-driven tag rules, with search, activity and status filters, grouped rows, clone, edit, and run actions.

pageActivity Tag Rules / Applications

Recent application history shown inside the detail page for one rule, including action performed, timestamp, and captured activity data.

pageAffiliate Payment Settings / Detail

Saved affiliate payment-setting detail page for reviewing one configured record.