{ "name": "verify-configurator-variation", "nodes": [ {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}}, {"id": "src", "name": "Src", "type": "code", "position": {"x": 0, "y": 100}, "config": {"code": "return { pick: 'b' };"}}, {"id": "gate", "name": "Gate", "type": "if-condition", "position": {"x": 0, "y": 200}, "config": {"combineWith": "and", "conditions": [{"field": "data.result.pick", "operator": "equals", "value": "a"}]}}, {"id": "cfgA", "name": "VariantA", "type": "configurator", "position": {"x": -200, "y": 300}, "config": {"label": "A", "settings": [{"name": "message", "value": "variant A"}, {"name": "mode", "value": "stop"}]}}, {"id": "cfgB", "name": "VariantB", "type": "configurator", "position": {"x": 200, "y": 300}, "config": {"label": "B", "settings": [{"name": "message", "value": "variant B"}, {"name": "mode", "value": "stop"}]}}, {"id": "target", "name": "Target", "type": "stop-and-error", "position": {"x": 0, "y": 400}, "config": {"message": "unconfigured", "mode": "error"}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "src", "targetInput": "data"}, {"sourceNodeId": "src", "sourceOutput": "main", "targetNodeId": "gate", "targetInput": "data"}, {"sourceNodeId": "gate", "sourceOutput": "true", "targetNodeId": "cfgA", "targetInput": "data"}, {"sourceNodeId": "gate", "sourceOutput": "false", "targetNodeId": "cfgB", "targetInput": "data"}, {"sourceNodeId": "src", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "data"}, {"sourceNodeId": "cfgA", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "config"}, {"sourceNodeId": "cfgB", "sourceOutput": "main", "targetNodeId": "target", "targetInput": "config"} ], "expectStatus": "completed", "expect": { "target": {"status": "completed", "output": {"stopped": true, "reason": "variant B"}} }, "expectMissing": ["cfgA"] }