scheduling Scenario 3 — Monitor Status Page for Changes
Written by RTILA X Engineering Team
Intermediate ~6 min
Prerequisites: scheduling/1 scheduling/2
What You'll Learn
Configure time-based workflow triggers
Real-World Use Case
Automating weekly report generation
LIVE DEMO
System Status
API Gateway Operational 99.98%
Database Operational 99.99%
CDN Operational 100.00%
Auth Service Operational 99.95%
Search Engine Degraded 98.41%
Notification Service Operational 99.97%
EXPECTED OUTPUT
RTILA X PROJECT JSON
{
"name": "Monitor_Status_Page",
"settings": {
"urls": [
"https://learn.rtila.com/scenarios/scheduling/3"
]
},
"datasets": {
"status_checks": {
"item_selector": "css=.status-item",
"properties": [
{
"name": "service",
"type": "text",
"selector": "css=.service-name"
},
{
"name": "status",
"type": "text",
"selector": "css=.status-indicator"
},
{
"name": "uptime",
"type": "text",
"selector": "css=.uptime-value"
}
]
}
},
"commands": [
{
"command": "wait_for_selector",
"params": {
"selector": "css=.status-item",
"iframe": "",
"timeout": 30000
}
},
{
"command": "extract_data",
"params": {
"dataset": "status_checks"
}
},
{
"command": "comment",
"params": {
"text": "Post-processing trigger chain checks extracted status_checks for non-Operational services"
}
}
]
}
Status page monitoring detects changes from the expected operational state. The script condition inspects the extracted dataset for any service that is not Operational.
Did you complete this scenario?
Ready to run this automation?
Copy the project JSON above, open RTILA X, create a new project, and paste it.
This scenario covers 1 RTILA X command and is referenced in 1 learning article.
Continue Learning
Was this helpful?
Thank you for your feedback!