Rules
Overview
{
"description": "airflow_trigger_example",
"is_active": true,
"jobs": [
"uuid_1",
"uuid_2",
...,
"uuid_n"
],
"method": "POST",
"url": "https://{{variables.TOOL_URL}}/api/v1/dags/{{erathos.JOB_ID}}/dagRuns",
"header": {
"Content-Type": "application/json",
"Authorization": "Basic ${{secrets.USER_KEY}}"
},
"body": {
"conf": {
"name": "{{erathos.TABLE_NAME}}",
"status": "${{erathos.STATUS}}"
}
},
"rules": [
{
"erathos_variable": "STATUS",
"operation": "EQUAL",
"value": "FINISHED"
},
{
"erathos_variable": "ROWS",
"operation": "GREATER_THAN",
"value": "0"
},
{
"erathos_variable": "FINISHED_AT_TIME",
"operation": "GREATER_THAN",
"value": "00:00"
},
{
"erathos_variable": "FINISHED_AT_TIME",
"operation": "LESS_THAN",
"value": "08:00"
},
{
"erathos_variable": "FINISHED_AT_WEEKDAY",
"operation": "NOT_IN",
"value": ["0", "6"]
}
]
}Examples
Execution status
Success
Failed
Dependent jobs
Time
Execution type
Schedules
Orchestration
Last updated

