Rules
Automation is important for proactive monitoring & immediate actions. Users can create automation logic and monitor the history here.
Users can create rules here and enable/disable/delete them.

Basic table features
Search: for a rule applied on a specific SIM via EID/ ICCID of the SIM or via Tags
Filtering/Sorting: the table allows filtering/sorting where applicable and resetting of the filters
Column selection: select the columns to be displayed
Pagination: select how many rows of data should be displayed & navigate multiple pages
The Transactions detail summary table is explained below.
Name
Rule Name created by user
Event
The event type triggered by the rule
Target Count
Count of SIMs/ Profiles targeted by the rule - either via ICCIDs or EIDs
Actions
Summary of actions to be executed by the rule, there can be multiple.
Status
Describes if the rule is currently Enabled or Disabled. ‘Completed’ indicates a rule that has been set to be executed only once and is now completed & therefore disabled.
Change Action
Users can toggle between enabling/ disabling a rule and can also delete a rule.
Rules are a compilation of 4 elements along with some configurations.
Trigger
Target
Setup
Actions
Header
Header allows the user to create a rule with a Short name and description to identify the rule.

Trigger
What triggers the rule? The available triggers in the platform are:
Usage Monitoring
Events
IMEI change
Country change
Service change
SIM profile state
Date
Usage Monitoring
This trigger allows a user to select conditions for the usage type to have breached. These are broken down into the amount of usage and the period of the usage.
There are various combinations of periods the user can select - some are static (e.g. calendar month) and some are to monitor a moving period (past months).

Important:
Usage Monitoring is based on Call Detail Records (CDRs) received from the mobile network operator.
A CDR is not generated while a data session is in progress. Instead, it is typically generated after the data session has ended. Once the CDR has been generated, it is sent to the ConnectedYou Platform where it is processed and evaluated against any configured Usage Monitoring rules.
Under normal conditions, CDRs are typically received within 30 minutes after the data session has ended. However, the exact timing depends on the mobile network operator and may occasionally take longer.
Because of this, Usage Monitoring is not real-time. Any actions configured using usage thresholds are triggered only after the relevant CDR has been received and processed.
Example
A rule is configured to suspend a SIM when the usage is more than 500 MB of data.
10:00
0 MB
Data session starts.
10:12
500 MB
Threshold is reached, but the session is still active. No CDR has been generated yet.
10:18
550 MB
Session ends. The network generates a CDR (CDR-A).
10:19
550 MB
A new data session starts.
10:42
650 MB
The ConnectedYou Platform receives the CDR (CDR-A), evaluates the rule, and suspends the SIM.
Result
Although the rule was configured for 500 MB, the suspension was applied after the platform received and processed the CDR from the mobile network. As a result, the SIM consumed 650 MB before the suspension took effect.
Events
IMEI Change
This allows a user to select the “From” and “To” IMEI types with “Any” triggering the rule for any device change.

Country Change
This allows a user to select between entering/ leaving geofence or Any location changes for specified countries.

Service Change
This allows a user to trigger a rule due to a SIM-profile (ICCID) state changing (to Active/ Suspended/ Terminated/ Any).

Date Trigger
The Date trigger allows you to run a rule automatically on a specific day of each month.
Configure the Date Trigger
When creating a rule:
Set Category to Date.
Set Condition type to Day of month.
Select the day of the month when the rule should run. You can select any day from the 1st through the last day of the month.
For example, selecting 1st means the rule will run on the 1st of every month.
Billing Status
When using a Date trigger, you can also select a Billing Status under the Target section. This determines which profiles within the selected target are eligible for the rule's action.
The rule first considers the profiles included in the target and then filters them based on the selected billing status.
For example, if the target includes All Profiles and the billing status is set to Suspended, only profiles that are currently suspended will be targeted by the rule.
Example: Automatically Reactivate Suspended SIMs
You can use a Date trigger to automatically reactivate suspended SIMs at the beginning of each month.
Configure the rule as follows:
Category
Date
Condition type
Day of month
Day of month
1st
Target
All Profiles
Billing Status
Suspended
Action
Activate
With this configuration, on the 1st of each month, the rule checks the selected profiles and identifies those with a Suspended billing status. The configured action is then performed on those profiles.
This can be useful for automatically reactivating SIMs that were suspended during the previous month.
Target
The rule trigger will only happen for the SIMs/ Profiles (ICCIDs/EIDs) selected in the target section. User has a choice to select apply to all or a selected few.

The target options change between allowing EIDs or ICCIDs depending on the type of rule trigger.
Setup
The Setup information carries the following and can change in terms of options depending on the trigger type:
Re-Evaluate: This defines if the rule will run only once or forever. It is not applicable for certain triggers and is set to NEVER by default.
Always: The rule will be evaluated each time it is triggered for the specified target indefinitely.
Begining of next calendar day: If the rule has been evaluated in the calendar day (UTC), it will be disabled until the next calendar day starts when the rule will be evaluated again if triggered.
Begining of next calendar month: If the rule has been evaluated in the calendar month (UTC), it will be disabled until the next calendar month starts when the rule will be evaluated again if triggered.
Never: The rule will be marked as COMPLETED after one successful evaluation.
Enable/ Disable Status: Users can create rules in an Enabled (default) or disabled state.

Actions
A user can select up to 10 actions triggered for a rule. They will be triggered in the order created (if applicable).
The Action types available in the platform are:
Email: user can enter up to 10 recipients in an email action

Billing State Change: user can activate/ suspend/ terminate a SIM either of a particular connectivity profile profile or “Any”. (!!) Exercise caution in targeting the “Terminated” State with automation as this is an unrecoverable state.

Webhook: user can set up a webhook URL and optionally add header name and value for the action

Last updated
Was this helpful?