Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
166 lines
2.8 KiB
JSON
166 lines
2.8 KiB
JSON
{
|
|
"name": "Filter test",
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"id": "f332a7d1-31b4-4e78-b31e-9e8db945bf3f",
|
|
"name": "When clicking \"Execute Workflow\"",
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [-60, 480]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"data": [
|
|
{
|
|
"date": "2023-10-26T16:45:52.367Z",
|
|
"label": "Apple"
|
|
},
|
|
{
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Banana"
|
|
},
|
|
{
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Kiwi"
|
|
},
|
|
{
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Orange"
|
|
}
|
|
]
|
|
},
|
|
"id": "60697c7f-3948-4790-97ba-8aba03d02ac2",
|
|
"name": "Code",
|
|
"type": "n8n-nodes-testing.testData",
|
|
"typeVersion": 1,
|
|
"position": [160, 480]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"conditions": {
|
|
"options": {
|
|
"caseSensitive": true,
|
|
"leftValue": ""
|
|
},
|
|
"conditions": [
|
|
{
|
|
"leftValue": "={{ $json.date }}",
|
|
"rightValue": "2023-10-21",
|
|
"operator": {
|
|
"type": "dateTime",
|
|
"operation": "before"
|
|
}
|
|
}
|
|
],
|
|
"combinator": "or"
|
|
},
|
|
"options": {}
|
|
},
|
|
"id": "7531191b-5ac3-45dc-8afb-27ae83d8f33a",
|
|
"name": "If",
|
|
"type": "n8n-nodes-base.if",
|
|
"typeVersion": 2,
|
|
"position": [380, 480]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "d8c614ea-0bbf-4b12-ad7d-c9ebe09ce583",
|
|
"name": "Then",
|
|
"type": "n8n-nodes-base.noOp",
|
|
"typeVersion": 1,
|
|
"position": [600, 400]
|
|
},
|
|
{
|
|
"parameters": {},
|
|
"id": "69364770-60d2-4ef4-9f29-9570718a9a10",
|
|
"name": "Else",
|
|
"type": "n8n-nodes-base.noOp",
|
|
"typeVersion": 1,
|
|
"position": [600, 580]
|
|
}
|
|
],
|
|
"pinData": {
|
|
"Then": [
|
|
{
|
|
"json": {
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Banana"
|
|
}
|
|
},
|
|
{
|
|
"json": {
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Kiwi"
|
|
}
|
|
},
|
|
{
|
|
"json": {
|
|
"date": "2023-10-20T16:45:52.367Z",
|
|
"label": "Orange"
|
|
}
|
|
}
|
|
],
|
|
"Else": [
|
|
{
|
|
"json": {
|
|
"date": "2023-10-26T16:45:52.367Z",
|
|
"label": "Apple"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"connections": {
|
|
"When clicking \"Execute Workflow\"": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Code",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Code": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "If",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"If": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Then",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"node": "Else",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"active": false,
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
},
|
|
"versionId": "ce7ed9ae-704e-4da8-b178-24556f720b2a",
|
|
"id": "BWUTRs5RHxVgQ4uT",
|
|
"meta": {
|
|
"instanceId": "78577815012af39cf16dad7a787b0898c42fb7514b8a7f99b2136862c2af502c"
|
|
},
|
|
"tags": []
|
|
}
|