{"nodes":{"mv3z3oecjmdu1oxyu4lkw6pj9ma40v48":{"type":"start","x":1133.6000366210938,"y":-307.9999694824219,"properties":{"title":"Error Resume in Batch Processing","author":"GraVersal","license":"CC BY 4.0","channel":"chat","category":"Context Reactivity","private":false,"excerpt":"In run-to-completion systems like N8N, debugging running processes at runtime is very difficult. GraVersal can pause the running process like a batch stack when errors occur. Connect to the process and fix the error directly at the point where the data enters the flow. Once the data is repaired, the process continues without any data loss.","slug":"","post":""}},"g7c4rcs5dkx2wwipbp06lz61zo2dggaq":{"type":"message","x":826.0550732421875,"y":190.725,"properties":{"text":"Starting batch process","repeatOnReentry":true,"repeatOnChance":true}},"ealcof4dvmqpvnbs2segrghd328s7nnt":{"type":"json","x":880.226951171875,"y":633.6290244140625,"properties":{"expression":"[\n{\"a\":1,\"b\":4},\n{\"a\":2,\"b\":2},\n{\"a\":3,\"b\":3},\n{\"a\":4,\"b\":6},\n{\"a\":9,\"b\":\"foo\"},\n{\"a\":6,\"b\":8},\n{\"a\":7,\"b\":9},\n{\"a\":8,\"b\":2},\n{\"a\":9,\"b\":7},\n{\"a\":0,\"b\":3}\n]","reinitializeOnReentry":true,"reinitializeOnChance":true}},"fs4ivszdvriuu9k0mvvqj4txrorsp2i1":{"type":"list","x":786.383951171875,"y":923.272048828125,"properties":{"reinitializeOnReentry":true,"reinitializeOnChance":true,"onChange":"patch"}},"ss5m2415n8tydhgtjbrbx80yi0ofmbqn":{"type":"number","x":776.8349450683594,"y":1186.5929877929689,"properties":{"expression":"current.item.a+current.item.b","step":"1","recalculateOnReentry":true,"recalculateOnChance":true}},"s8k0edwq7oxh3j18fd0njbyo2piz3tse":{"type":"message","x":765.4879389648438,"y":1518.839,"properties":{"text":"Processing **item {{calculation.current.iteration}}**: {{calculation.current.item.a}} + {{calculation.current.item.b}} = {{calculation.value}}","repeatOnReentry":true,"repeatOnChance":true}},"vwohuo1ge30vv60ih65n9itqef6tl5bu":{"type":"next","x":1081.5069755859374,"y":1515.8250244140625,"properties":{}},"g1ufibym6now15xl13w6fc7m4sff85lr":{"type":"message","x":421.2929572753907,"y":1201.5880610351562,"properties":{"text":"⚠️ The process has been **paused**. Please correct the following error in item {{current.iteration}}:\n\nCannot add: {{current.item.a}} + {{current.item.b}}","repeatOnReentry":true,"repeatOnChance":true}},"fhgwxvljwm6rivp2hccwt4cf8hfu75zz":{"type":"message","x":356.0169450683594,"y":1404.8050244140625,"properties":{"text":"✅ All items were successfully processed.","repeatOnReentry":true,"repeatOnChance":true}},"9txnmaoknvm93h6x2zxp3tnvzkz1j77v":{"type":"message","x":859.908048828125,"y":-175.60798168945314,"properties":{"text":"In run-to-completion systems like N8N, debugging running processes at runtime is very difficult. GraVersal can __pause the running process__ like a batch stack when errors occur. Connect to the process and fix the error directly at the point where the data enters the flow. Once the data is repaired, the process continues without any data loss.\n\nEdit the JSON node to fix the error directly.","repeatOnReentry":true,"repeatOnChance":true}}},"edges":{"h121gm17etf7vwi3uw14cx38nao9f5dr":{"type":"may","from":"ealcof4dvmqpvnbs2segrghd328s7nnt","to":"fs4ivszdvriuu9k0mvvqj4txrorsp2i1","properties":{"priority":4,"push":"data","as":"initialItems"}},"9qaaucivuj0qrioc5t2to7ca3onwapgf":{"type":"may","from":"g7c4rcs5dkx2wwipbp06lz61zo2dggaq","to":"ealcof4dvmqpvnbs2segrghd328s7nnt","properties":{"priority":4,"condition":"arrived"}},"df4te1uhteor1nb67zawita3joik80j3":{"type":"may","from":"fs4ivszdvriuu9k0mvvqj4txrorsp2i1","to":"ss5m2415n8tydhgtjbrbx80yi0ofmbqn","properties":{"priority":6,"push":"current","as":""}},"v0tffah9rhb2r7bmqo0zyaj9myxhd4k6":{"type":"may","from":"ss5m2415n8tydhgtjbrbx80yi0ofmbqn","to":"s8k0edwq7oxh3j18fd0njbyo2piz3tse","properties":{"priority":6,"push":"","as":"calculation","condition":"error == false"}},"y9aywwbx472uk8cep09lh0dab1jn3m5k":{"type":"may","from":"s8k0edwq7oxh3j18fd0njbyo2piz3tse","to":"vwohuo1ge30vv60ih65n9itqef6tl5bu","properties":{"priority":4,"condition":"arrived"}},"71i74bd03a9ohwwif4zicnyys45vrb4u":{"type":"may","from":"ss5m2415n8tydhgtjbrbx80yi0ofmbqn","to":"g1ufibym6now15xl13w6fc7m4sff85lr","properties":{"priority":4,"condition":"error","push":"current"}},"9b1ptzqisopwr4p4fwbcc4adgdl5xhay":{"type":"may","from":"ss5m2415n8tydhgtjbrbx80yi0ofmbqn","to":"fhgwxvljwm6rivp2hccwt4cf8hfu75zz","properties":{"priority":4,"condition":"error == false and current.isLast"}},"k0e778vvb8040xt90uhpgz4xo05hnflw":{"type":"may","from":"mv3z3oecjmdu1oxyu4lkw6pj9ma40v48","to":"9txnmaoknvm93h6x2zxp3tnvzkz1j77v","properties":{"priority":4}},"ycdarthevnvbye56s1zzv7ok7bjt8lkh":{"type":"may","from":"9txnmaoknvm93h6x2zxp3tnvzkz1j77v","to":"g7c4rcs5dkx2wwipbp06lz61zo2dggaq","properties":{"priority":4,"condition":"arrived"}}}}