29 lines
774 B
JSON
29 lines
774 B
JSON
{
|
|
"name": "bounded_demo_workflow",
|
|
"description": "Workflow used by the bounded-schedule demo. Fetches a world clock timestamp to show when it ran.",
|
|
"version": 1,
|
|
"tasks": [
|
|
{
|
|
"name": "fetch_timestamp",
|
|
"taskReferenceName": "fetch_timestamp",
|
|
"type": "HTTP",
|
|
"inputParameters": {
|
|
"http_request": {
|
|
"uri": "https://timeapi.io/api/time/current/zone?timeZone=UTC",
|
|
"method": "GET",
|
|
"connectionTimeOut": 3000,
|
|
"readTimeOut": 3000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outputParameters": {
|
|
"firedAt": "${fetch_timestamp.output.response.body.dateTime}"
|
|
},
|
|
"schemaVersion": 2,
|
|
"restartable": true,
|
|
"ownerEmail": "demo@example.com",
|
|
"timeoutPolicy": "ALERT_ONLY",
|
|
"timeoutSeconds": 60
|
|
}
|