|
@@ -15,7 +15,9 @@
|
|
|
{"id": "n7", "name": "Now", "type": "datetime", "position": {"x": 250, "y": 200},
|
|
{"id": "n7", "name": "Now", "type": "datetime", "position": {"x": 250, "y": 200},
|
|
|
"config": {"operation": "now"}},
|
|
"config": {"operation": "now"}},
|
|
|
{"id": "n8", "name": "FormatMaxOffset", "type": "datetime", "position": {"x": 350, "y": 200},
|
|
{"id": "n8", "name": "FormatMaxOffset", "type": "datetime", "position": {"x": 350, "y": 200},
|
|
|
- "config": {"operation": "format", "inputField": "data.result.when", "format": "YYYY-MM-DD HH:mm:ss", "offset": "+14:00", "outputField": "value"}}
|
|
|
|
|
|
|
+ "config": {"operation": "format", "inputField": "data.result.when", "format": "YYYY-MM-DD HH:mm:ss", "offset": "+14:00", "outputField": "value"}},
|
|
|
|
|
+ {"id": "n9", "name": "AddOmittedAmount", "type": "datetime", "position": {"x": 450, "y": 200},
|
|
|
|
|
+ "config": {"operation": "add", "inputField": "data.result.when", "unit": "days", "format": "YYYY-MM-DD HH:mm:ss", "outputField": "value"}}
|
|
|
],
|
|
],
|
|
|
"connections": [
|
|
"connections": [
|
|
|
{"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"},
|
|
{"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"},
|
|
@@ -24,7 +26,8 @@
|
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n5", "targetInput": "data"},
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n5", "targetInput": "data"},
|
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n6", "targetInput": "data"},
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n6", "targetInput": "data"},
|
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n7", "targetInput": "data"},
|
|
{"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n7", "targetInput": "data"},
|
|
|
- {"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n8", "targetInput": "data"}
|
|
|
|
|
|
|
+ {"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n8", "targetInput": "data"},
|
|
|
|
|
+ {"sourceNodeId": "n2", "sourceOutput": "main", "targetNodeId": "n9", "targetInput": "data"}
|
|
|
],
|
|
],
|
|
|
"expect": {
|
|
"expect": {
|
|
|
"n3": {"status": "completed", "output": {"value": "2026-01-15 10:30:00"}},
|
|
"n3": {"status": "completed", "output": {"value": "2026-01-15 10:30:00"}},
|
|
@@ -32,6 +35,7 @@
|
|
|
"n5": {"status": "completed", "output": {"value": "2026-01-18"}},
|
|
"n5": {"status": "completed", "output": {"value": "2026-01-18"}},
|
|
|
"n6": {"status": "completed", "output": {"value": 5}},
|
|
"n6": {"status": "completed", "output": {"value": 5}},
|
|
|
"n7": {"status": "completed"},
|
|
"n7": {"status": "completed"},
|
|
|
- "n8": {"status": "completed", "output": {"value": "2026-01-16 00:30:00"}}
|
|
|
|
|
|
|
+ "n8": {"status": "completed", "output": {"value": "2026-01-16 00:30:00"}},
|
|
|
|
|
+ "n9": {"status": "completed", "output": {"value": "2026-01-15 10:30:00"}}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|