call-workflow-missing-input.json 626 B

123456789101112
  1. {
  2. "name": "verify-call-workflow-missing-input",
  3. "nodes": [
  4. {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}},
  5. {"id": "call", "name": "Call", "type": "call-workflow", "position": {"x": 0, "y": 100},
  6. "config": {"workflowId": "wf_5cfe91eb-a7f0-4da8-aca9-2300ed40b399", "inputSource": "fields", "fields": [{"name": "label", "value": "no number given"}]}}
  7. ],
  8. "connections": [
  9. {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "call", "targetInput": "data"}
  10. ],
  11. "expect": {"call": {"status": "failed", "errorContains": "did not pass n"}}
  12. }