Thales Adaptive Connect Documentation Portal

Statistics for Rules and Campaigns

1. Overview

The Statistics feature is part of the Thales Adaptive Connect (TAC) platform. It gives operators clear, real-time visibility into how their Business Rules and Campaigns are executing across their device fleet.

Before this feature, only individual order status was available in the system. There was no way to tell whether an order had been generated by a Rule, a Campaign, or a direct CCI invocation, and no aggregated view of how a rule or campaign was progressing across thousands of devices.

The Statistics feature addresses this by tracking every rule and campaign execution end-to-end from the moment a rule fires on a device through to the final outcome of every order it generates and presenting the results as a structured, queryable dashboard.

The overall flow is as follows:

  1. A Business Rule or Campaign fires on one or more devices.

  2. Each execution is tracked from start to finish, including every order generated.

  3. Results are aggregated per rule or campaign.

  4. The Statistics dashboard shows live progress, success and failure counts, and errors information.

  5. Operators can drill down to see which specific devices failed and why, and download the affected device list as a CSV.

Statistics are computed from rule-engine-triggered executions only. Fleet-managed and direct unitary provisioning operations are not included in these statistics.

The statistics APIs are described in the Thales Adaptive Connect Rule Statistics API and Campaign Statistics API Description.


2. Rule Statistics

Rule Statistics provide a complete view of how a specific Business Rule is performing across your device fleet. You can see overall execution counts including success and failure percentages, the associated device groups, a list of devices that failed, and an analysis of the error categories driving those failures.

2.1. Rule-Level Summary

The rule-level summary gives you a high-level picture of a single rule’s execution history.

Field Description

Rule Name

The name of the Business Rule.

Cards Processed

The number of distinct devices (EIDs) for which at least one workflow execution exists under this rule.

Total Cards in Target

The total number of distinct devices targeted by this rule across all its associated groups.

Success Count

The number of devices whose workflow execution completed successfully.

Failure Count

The number of devices whose workflow execution ended in failure.

In-Progress Count

The number of devices whose workflow execution has started but not yet reached a terminal state.

Success Rate

Calculated as: Successful Cards ÷ Cards Processed × 100.

Orders Issued

The total number of orders generated by this rule across all executions.

Orders Passed

The number of orders that completed successfully.

Orders Failed

The number of orders that ended in failure.

Last Execution Time

The timestamp of the most recent execution recorded for this rule.

In-Progress Count is a derived, near-consistent figure. It reflects executions that have started but whose final outcome has not yet been recorded. A small number of in-progress entries may persist briefly after an execution completes due to the asynchronous nature of statistics aggregation.

Example rule summary response:

{
    "tenant_id": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "source_id": "0269625a-8e8e-3144-a489-98b39731fd71",
    "source_name": "GSMA32_GUProfile2",
    "source_type": "RULE",
    "summary": {
        "total_executions": 1,
        "success_count": 0,
        "failure_count": 1,
        "in_progress_count": 0,
        "progress": null,
        "success_rate": 0.0,
        "failure_rate": 100.0,
        "orders_issued": 3,
        "orders_success": 1,
        "orders_failed": 2,
        "orders_pending": 0,
        "processed_eids": 1,
        "successful_eids": 0,
        "failed_eids": 1,
        "last_execution_time": "2026-09-24T12:14:48.665Z",
        "target_card_count": null
    },
    "groups": [
        {
            "group_id": "a0cc754b-17bd-4249-9223-f1e2ae94890c",
            "group_name": null,
            "executions_count": 1,
            "success_count": 0,
            "failure_count": 1,
            "in_progress_count": 0,
            "target_card_count": null,
            "progress": null,
            "success_rate": 0.0
        }
    ],
    "error_analytics": [
        {
            "order_type": "GET_PROFILE_INFO_ORDER",
            "error_category": "EUICC_PROCESSING_ERRORS",
            "error_code": "ecallActive",
            "affected_device_count": 1,
            "total_failure_count": 1,
            "last_failed_at": "2026-09-24T12:14:48.665Z"
        },
        {
            "order_type": "UPDATE_PROFILE_CONFIGURATION_ORDER",
            "error_category": "EUICC_PROCESSING_ERRORS",
            "error_code": "undefinedError",
            "affected_device_count": 1,
            "total_failure_count": 1,
            "last_failed_at": "2026-09-24T12:14:47.276Z"
        }
    ],
    "executions": [],
    "order_type_stats": [
        {
            "order_type": "DOWNLOAD_PROFILE_ORDER",
            "total_executions": 1,
            "success_count": 1,
            "failure_count": 0,
            "success_rate": 100.0,
            "failure_rate": 0.0
        },
        {
            "order_type": "GET_PROFILE_INFO_ORDER",
            "total_executions": 1,
            "success_count": 0,
            "failure_count": 1,
            "success_rate": 0.0,
            "failure_rate": 100.0
        },
        {
            "order_type": "UPDATE_PROFILE_CONFIGURATION_ORDER",
            "total_executions": 1,
            "success_count": 0,
            "failure_count": 1,
            "success_rate": 0.0,
            "failure_rate": 100.0
        }
    ]
}

You can also retrieve a summary list covering all rules for your tenant in a single call. This gives you a compact overview — rule name, cards processed, total cards in target, and success rate — so you can quickly identify which rules need attention.

Example all-rules summary response:

{
    "page_info": {
        "page_number": 1,
        "page_size": 20,
        "total_elements": 2,
        "total_pages": 0,
        "first": false,
        "last": false
    },
    "tenant_id": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "source_type": "RULE",
    "summaries": [
        {
            "source_id": "0269625a-8e8e-3144-a489-98b39731fd71",
            "source_name": "GSMA32_GUProfile2",
            "cards_processed": 1,
            "target_cards": null,
            "success_rate": 0.0,
            "success_count": 0
        },
        {
            "source_id": "2c6ae79a-504e-3189-8b6b-b098a940f20a",
            "source_name": "initGSMA32_d8",
            "cards_processed": 1,
            "target_cards": null,
            "success_rate": 100.0,
            "success_count": 1
        }
    ]
}

2.2. Card List in Error

The Card List in Error shows every device whose workflow execution ended in failure for the selected rule. This list is intended to help you identify and act on specific devices that need attention.

Field Description

EID

The eUICC Identifier of the failed device.

Rule Name

The name of the rule under which the failure occurred.

Group Name

The device group the device belongs to.

Failed Order

The order type that failed (for example, DOWNLOAD_PROFILE_ORDER).

Failure Category

The high-level category of the failure (for example, CONNECTIVITY_ERROR).

Failure Reason

The specific error code describing the failure (for example, ERR_TIMEOUT_30S).

Failure Timestamp

The date and time when the failure was recorded.

2.3. Error Analytics

The Error Analytics section provides a pre-aggregated breakdown of failures by error category and error code for the selected rule. It is designed to help you quickly understand which types of errors are most prevalent and how many devices are affected.

Column Description

Order Type

The type of order that failed (for example, DOWNLOAD_PROFILE_ORDER).

Error Category

The high-level category of the error (for example, CONNECTIVITY_ERROR).

Error Code

The specific error code within that category (for example, ERR_TIMEOUT_30S).

Affected Devices

The number of distinct devices (EIDs) that have experienced this error. Each device is counted once, regardless of how many times it has failed with this error.

Total Failures

The total number of failure events recorded for this error, including repeated failures of the same device.

The bounded set of Error Category and Error Code values is defined by the platform configuration. If you encounter an error that does not map to a known category, it will appear under a catch-all category. Contact your platform administrator if you see unexpected error category values.

Example error analytics response:

{
"error_analytics": [
        {
            "order_type": "GET_PROFILE_INFO_ORDER",
            "error_category": "EUICC_PROCESSING_ERRORS",
            "error_code": "ecallActive",
            "affected_device_count": 1,
            "total_failure_count": 1,
            "last_failed_at": "2026-09-24T12:14:48.665Z"
        },
        {
            "order_type": "UPDATE_PROFILE_CONFIGURATION_ORDER",
            "error_category": "EUICC_PROCESSING_ERRORS",
            "error_code": "undefinedError",
            "affected_device_count": 1,
            "total_failure_count": 1,
            "last_failed_at": "2026-09-24T12:14:47.276Z"
        }
    ]
}

2.3.1. Downloading the Affected Device List

Each row in the Error Analytics table has a Download CSV action. Clicking it downloads a CSV file containing every failure event recorded for that specific error category and error code combination.

The CSV includes the following columns:

Column Description

eid

The eUICC Identifier of the device.

failed_at

The timestamp of the failure event.

error_category

The error category for this row.

error_code

The specific error code for this row.

order_type

The type of order that failed.

The CSV is a complete audit trail. The same device (EID) may appear multiple times if it has failed more than once with the same error, the file gives you the full history of failure events, not just a deduplicated device list.


3. Campaign Statistics

Campaign Statistics work in the same way as Rule Statistics but are scoped to a Campaign. In TAC, a Campaign is a time-bounded execution of a rule against a defined set of device groups. The statistics show how far the campaign has progressed and how many devices have succeeded or failed.

3.1. Campaign-Level Summary

The campaign-level summary shows the overall progress and outcome of a single campaign.

Field Description

Campaign Name

The name of the Campaign.

Target Card Count

The total number of devices targeted by this campaign across all its groups.

Cards Processed

The number of distinct devices for which at least one execution has been recorded.

Progress

Calculated as: Cards Processed ÷ Target Card Count × 100. Indicates how far through the campaign the system has progressed.

Successful Devices

The number of devices whose execution completed successfully.

Failed Devices

The number of devices whose execution ended in failure.

In-Progress Count

The number of devices whose execution has started but not yet reached a terminal state.

Success Rate

Calculated as: Successful Devices ÷ Cards Processed × 100.

Orders Issued

The total number of orders generated by this campaign.

Orders Passed

The number of orders that completed successfully.

Orders Failed

The number of orders that ended in failure.

Last Execution Time

The timestamp of the most recent execution recorded for this campaign.

Progress percentage is near-consistent.

The Target Card Count is fetched from the group service and cached for up to 15 minutes. If group membership changes while a campaign is running, the progress percentage may fluctuate slightly. The value is capped at 100%.

In rare cases where the group service is temporarily unavailable, the Target Card Count and Progress fields may be returned as null. All other statistics remain available.

Example campaign summary response:

{
    "tenant_id": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "source_id": "2c6ae79a-504e-3189-8b6b-b098a940f20a",
    "source_name": "initGSMA32_d8",
    "source_type": "CAMPAIGN",
    "summary": {
        "total_executions": 11,
        "success_count": 6,
        "failure_count": 4,
        "in_progress_count": 1,
        "progress": 0.0,
        "success_rate": 54.54545454545454,
        "failure_rate": 36.36363636363637,
        "orders_issued": 22,
        "orders_success": 6,
        "orders_failed": 15,
        "orders_pending": 1,
        "processed_eids": 11,
        "successful_eids": 6,
        "failed_eids": 4,
        "last_execution_time": "2026-09-30T17:30:27.510Z",
        "target_card_count": 0
    },
    "groups": [],
    "error_analytics": [
        {
            "order_type": "DELETE_PROFILE_ORDER",
            "error_category": "EUICC_COMMANDS_ERRORS",
            "error_code": "iccidOrAidNotFound",
            "affected_device_count": 11,
            "total_failure_count": 15,
            "last_failed_at": "2026-09-30T17:30:27.510Z"
        }
    ],
    "executions": [],
    "order_type_stats": [
        {
            "order_type": "DELETE_PROFILE_ORDER",
            "total_executions": 2,
            "success_count": 1,
            "failure_count": 1,
            "success_rate": 50.0,
            "failure_rate": 50.0
        }
    ]
}

You can also retrieve a summary list covering all campaigns for your tenant in a single call.

Example all-campaigns summary response:

{
    "page_info": {
        "page_number": 1,
        "page_size": 20,
        "total_elements": 3,
        "total_pages": 0,
        "first": false,
        "last": false
    },
    "tenant_id": "3a8aa14b-09c0-3760-bf0c-93151120b014",
    "source_type": "CAMPAIGN",
    "summaries": [
        {
            "source_id": "2c6ae79a-504e-3189-8b6b-b098a940f20a",
            "source_name": "initGSMA32_d8",
            "cards_processed": 11,
            "target_cards": 0,
            "success_rate": 54.54545454545454,
            "success_count": 6
        },
        {
            "source_id": "4d29b7d3-78e2-303b-8dd9-b403ca05922a",
            "source_name": "update_read_delete_profile",
            "cards_processed": 1,
            "target_cards": null,
            "success_rate": 0.0,
            "success_count": 0
        },
        {
            "source_id": "51321db1-407f-32ba-aac1-a3ac913ad6b3",
            "source_name": "download_w_enable_cam",
            "cards_processed": 1,
            "target_cards": null,
            "success_rate": 0.0,
            "success_count": 0
        }
    ]
}

3.2. Failed Devices and Error Analytics

The failed device list and error analytics for campaigns follow exactly the same structure as described for rules in Card List in Error and Error Analytics.

For each campaign you can:

  • View the list of devices whose execution failed, including the EID, group name, failed order type, failure category, failure reason, and failure timestamp.

  • View the Error Analytics table showing Affected Devices and Total Failures per error category and error code.

  • Download a CSV of all failure events for any specific error category and error code combination.