[{"data":1,"prerenderedAt":360},["ShallowReactive",2],{"flow-febkalxmyik1atins12rw7evur6eouta":3},{"nodes":4,"edges":229},{"febkalxmyik1atins12rw7evur6eouta":5,"hqvkwgucxcjf1y3pdhnvsu96smedhtum":19,"sf5su8shd5ppxqxdbp86yq3hx7edaxrp":27,"30n7psjbcum3phvxv335pwb6szmk4mqp":34,"w9l87m3ckgqvcsxqlk7xe01gvlsoqruy":42,"9de46bxa57z5nfgdfq5guppbdzls4mhb":49,"pp3opqs8vui7qaanccb101jmvbqbxf49":55,"on8u8lycwirsh0o73noaetzmvbe4grng":61,"r0x3awz5rtf3tgpstlyc5lugzfnv9j1m":68,"6qkdb4x1c0ckxg3qk8qgg4u43bxyhiv3":74,"0d7neptsxckvb4scvayv7du3lx2d2qgg":80,"izfybb13jbmhirpakva5iia0d5z38i2p":85,"v27jndg9gl6kenm0nhjvil5r2f4kqb37":91,"hwic2xrfdfsq78x5jnarb3okppx2bvvi":97,"6tz085cjoru0vr6j6oj8wcwbq436e120":103,"861o82h07d3b45627mb0hw3rcn3yf7f2":109,"j0crt3hy9zacprsz4pm7owd0c77ug3cq":115,"dtqzi9ayg6bskmuke4js94dc5o0fw6qe":121,"d6z7j3jlixvfa60p69ocrat2k1el4nnw":127,"83ce1orpkolmgq7h1o1siuddziygukf8":133,"onkmo27zf59zxhx3vhw4id0xh81pukjm":139,"rzqy5mvob8ztidxtgd388ti9s3g0rmfd":145,"dbvj0imfaaz8tezf8p4so0mw7z0nyglk":151,"smpms12wmexec65vy3krck9q3kt202m0":157,"b2ekfzr9zr3nrd7xdpjh9m2n1h8sgkfi":163,"tu1fdap49qh4vk23zytg6i9am5u2bsbs":169,"m3m64pl51lqrmdm1474ktv4p6ln938fc":175,"qoiwg9lw2it09pi55hxsf4v57lireosl":181,"jhudrym778dq5icmcx6i0zew5756z6kb":187,"4mi75o6erdvxmc7v81rilt1nsre269rr":193,"efm208zgtrjr8k1z5k1s2wpk7io3uogd":200,"rtaltct1dh60mih27mqbftw5tzgjwf0e":206,"z1ekbz4qkqaofagm5rm13zzhg817vu5x":212,"rvn6q70asok3x14pxr1gdjjv68alc4wj":218,"7g9bq4ripkw1z8pujoa4ibccea3l5gst":223},{"id":6,"type":7,"x":8,"y":8,"properties":9},"febkalxmyik1atins12rw7evur6eouta","start",0,{"title":10,"excerpt":11,"post":12,"author":13,"license":14,"channel":15,"category":16,"private":17,"slug":18},"Product configuration with live context invalidation","This demo shows how spontaneously a context can change. In this case: because skateboards or shoes are constantly being taken out of storage and then suddenly become available again.","## What's happening here?\nIn this theoretical example flow, the user can add either a skateboard or shoe to their shopping cart. While the prompt for shoes or skateboards is displayed, the __stock is simultaneously checked__. The stock level is simulated here using two number nodes. One for shoes and one for skateboards.\n\nThis example demonstrates how flows __dynamically can react__ to parts of the context that no longer exist. What happens if you're still configuring your skateboard when the last one is __suddenly sold__? Test it by editing the number node in the builder! (You must load this flow in the Builder to change the values.)\n\nIt doesn't matter whether you're already configuring your skateboard or haven't yet decided between shoes or skateboards. The flow __recognizes__ when skateboards are sold out and, if necessary, returns you to the initial selection. This also happens if you were in the middle of configuring your product. If a product has a count of 0, the entire __branch disappears from the context__.\n\nAll of this works thanks to __RGS__ (Reactive Graph Sequencing) without any complicated programming.\nTry it out and play around!","Wanderer","CC BY 4.0","chat","Context Reactivity",false,"Product-configuration-with-live-context-invalidation",{"id":20,"type":21,"x":22,"y":23,"properties":24},"hqvkwgucxcjf1y3pdhnvsu96smedhtum","message",-301.96325535732063,-376.30881801743703,{"text":25,"repeatOnReentry":26},"I can advise you on __shoes__ or __skateboards__.",true,{"id":28,"type":29,"x":30,"y":31,"properties":32},"sf5su8shd5ppxqxdbp86yq3hx7edaxrp","question",-392.39103905204337,329.14209506352984,{"text":33,"reviewable":26,"repeatOnReentry":26},"What are you interested in?",{"id":35,"type":36,"x":37,"y":38,"properties":39},"30n7psjbcum3phvxv335pwb6szmk4mqp","suggestion",-248.0401562909208,559.4498560078333,{"text":40,"value":41},"skateboards ({{skateboards_stock}})","skateboards",{"id":43,"type":36,"x":44,"y":45,"properties":46},"w9l87m3ckgqvcsxqlk7xe01gvlsoqruy",-584.3360618197248,520.87828401175,{"text":47,"value":48},"shoes ({{shoes_stock}})","shoes",{"id":50,"type":21,"x":51,"y":52,"properties":53},"9de46bxa57z5nfgdfq5guppbdzls4mhb",-182.02327187533183,771.4278293908858,{"text":54,"repeatOnReentry":26},"Here is our newest skateboard deck.",{"id":56,"type":29,"x":57,"y":58,"properties":59},"pp3opqs8vui7qaanccb101jmvbqbxf49",-54.34077332550504,1235.8080795658211,{"text":60,"reviewable":26,"repeatOnReentry":26},"Would you like to add this deck to your cart?\n",{"id":62,"type":36,"x":63,"y":64,"properties":65},"on8u8lycwirsh0o73noaetzmvbe4grng",-55.72412782652285,1380.8317378829015,{"text":66,"value":67},"Add to Cart","",{"id":69,"type":21,"x":70,"y":71,"properties":72},"r0x3awz5rtf3tgpstlyc5lugzfnv9j1m",-711.3700252483533,719.9096203006806,{"text":73,"repeatOnReentry":26},"Here is our newest sneaker.",{"id":75,"type":29,"x":76,"y":77,"properties":78},"6qkdb4x1c0ckxg3qk8qgg4u43bxyhiv3",-880.8778198947666,1262.9431594865605,{"text":79,"repeareviewabletable":26,"repeatOnReentry":26},"Should I add this shoe to my shopping cart?",{"id":81,"type":36,"x":82,"y":83,"properties":84},"0d7neptsxckvb4scvayv7du3lx2d2qgg",-875.5748401887838,1447.006087485931,{"text":66,"value":67},{"id":86,"type":21,"x":87,"y":88,"properties":89},"izfybb13jbmhirpakva5iia0d5z38i2p",42.67622490795051,338.5777203562068,{"text":90,"repeatOnReentry":26},"I'm very sorry. The last skateboard has just been sold.",{"id":92,"type":21,"x":93,"y":94,"properties":95},"v27jndg9gl6kenm0nhjvil5r2f4kqb37",-67.11266091899526,1552.8690234324492,{"text":96,"repeatOnReentry":26},"I've added the skateboard to your cart.",{"id":98,"type":21,"x":99,"y":100,"properties":101},"hwic2xrfdfsq78x5jnarb3okppx2bvvi",-876.7862680840308,1623.1759266192112,{"text":102,"repeatOnReentry":26},"I've added the sneaker to your cart.",{"id":104,"type":21,"x":105,"y":106,"properties":107},"6tz085cjoru0vr6j6oj8wcwbq436e120",274.01479429690477,469.3236008108578,{"text":108,"repeatOnReentry":26},"We have {{skateboards_stock}} skateboards in stock again",{"id":110,"type":111,"x":112,"y":113,"properties":114},"861o82h07d3b45627mb0hw3rcn3yf7f2","context",-32.08190277070982,469.3591634108796,[],{"id":116,"type":21,"x":117,"y":118,"properties":119},"j0crt3hy9zacprsz4pm7owd0c77ug3cq",-473.35729892395915,1789.722575727184,{"text":120,"repeatOnReentry":26},"Would you like to buy more?",{"id":122,"type":21,"x":123,"y":124,"properties":125},"dtqzi9ayg6bskmuke4js94dc5o0fw6qe",-600.9700390887558,-372.192607205072,{"text":126,"repeatOnReentry":26,"repeatOnChance":26},"You should hurry. Skateboards and shoes sell out quickly here.",{"id":128,"type":21,"x":129,"y":130,"properties":131},"d6z7j3jlixvfa60p69ocrat2k1el4nnw",-31.929814513794753,-234.57966008794028,{"text":132,"repeatOnReentry":26,"repeatOnChance":26},"This demo is designed to show you how a product configuration __reacts to stock changes__ in real time.",{"id":134,"type":29,"x":135,"y":136,"properties":137},"83ce1orpkolmgq7h1o1siuddziygukf8",-65.4079166718805,905.8700227344988,{"text":138,"reviewable":26,"repeatOnReentry":26},"Which deck width do you prefer?",{"id":140,"type":36,"x":141,"y":142,"properties":143},"onkmo27zf59zxhx3vhw4id0xh81pukjm",121.53209041793228,839.5165869408265,{"text":144,"value":67},"6.75\"",{"id":146,"type":36,"x":147,"y":148,"properties":149},"rzqy5mvob8ztidxtgd388ti9s3g0rmfd",124.8687522143275,996.9938088061599,{"text":150,"value":67},"7.75\"",{"id":152,"type":36,"x":153,"y":154,"properties":155},"dbvj0imfaaz8tezf8p4so0mw7z0nyglk",129.18515736774023,919.423873303753,{"text":156,"value":67},"7.25\"",{"id":158,"type":21,"x":159,"y":160,"properties":161},"smpms12wmexec65vy3krck9q3kt202m0",-63.80774826144716,1083.3419110827333,{"text":162,"repeatOnReentry":26,"repeatOnChance":26},"You've configured a great deck.",{"id":164,"type":29,"x":165,"y":166,"properties":167},"b2ekfzr9zr3nrd7xdpjh9m2n1h8sgkfi",-873.7224571302147,816.8787895985098,{"text":168,"reviewable":26,"repeatOnReentry":26},"What size would you like?",{"id":170,"type":36,"x":171,"y":172,"properties":173},"tu1fdap49qh4vk23zytg6i9am5u2bsbs",-1029.0851627553734,921.2448703477105,{"text":174,"value":67},"40",{"id":176,"type":36,"x":177,"y":178,"properties":179},"m3m64pl51lqrmdm1474ktv4p6ln938fc",-961.0817691975362,697.3313138216821,{"text":180,"value":67},"44",{"id":182,"type":36,"x":183,"y":184,"properties":185},"qoiwg9lw2it09pi55hxsf4v57lireosl",-1039.1360511382866,805.1763406558196,{"text":186,"value":67},"42",{"id":188,"type":21,"x":189,"y":190,"properties":191},"jhudrym778dq5icmcx6i0zew5756z6kb",-889.2119949355628,1029.3707623878909,{"text":192,"repeatOnReentry":26,"repeatOnChance":26},"You configured yourself a great pair of sneakers",{"id":194,"type":195,"x":196,"y":197,"properties":198},"4mi75o6erdvxmc7v81rilt1nsre269rr","number",-443.69015192818426,1.8183099614029543,{"expression":199},"16",{"id":201,"type":195,"x":202,"y":203,"properties":204},"efm208zgtrjr8k1z5k1s2wpk7io3uogd",-646.670214410144,95.2282651955018,{"expression":205},"24",{"id":207,"type":21,"x":208,"y":209,"properties":210},"rtaltct1dh60mih27mqbftw5tzgjwf0e",-648.6178770058581,-135.52492679163288,{"text":211,"repeatOnReentry":26,"repeatOnChance":26},"Change the values of the following number nodes to modify the inventory.",{"id":213,"type":21,"x":214,"y":215,"properties":216},"z1ekbz4qkqaofagm5rm13zzhg817vu5x",-974.0160238376825,326.02332704901556,{"text":217,"repeatOnReentry":26,"repeatOnChance":26},"I'm very sorry. The last shoe has just been sold.",{"id":219,"type":111,"x":220,"y":221,"properties":222},"rvn6q70asok3x14pxr1gdjjv68alc4wj",-753.5120000855778,429.49428452593514,[],{"id":224,"type":21,"x":225,"y":226,"properties":227},"7g9bq4ripkw1z8pujoa4ibccea3l5gst",-1002.6316040174696,440.26982022568166,{"text":228,"repeatOnReentry":26,"repeatOnChance":26},"We have {{shoes_stock}} skateboards in stock again",{"mhshmzidqglblady8fy83xqx3b0ep6j1":230,"9rtq364bo0s6giht34gs02djrtk3svz3":237,"4s93yhmqhenyd32m0wkikn3zmpweng7n":242,"yx4wjl3uz11eamv4inmscxifbrdr6yjb":246,"gcez990wn0u3fvi3hlw732nc7t2b3bmz":249,"56ay0gadar0tabcemfvvetzek1vipfqz":252,"orjf8mo2ipxgf48zc7zylr4d5knfkxnr":255,"uoqki98aakulcpqzkikvq86wa6ar7kmp":259,"xwfnencn9s96iej5xgaxhqbfj5k58fn9":263,"xj6ef562gnofgyxwai6obah2au13txt7":266,"eaq3w9d0ip0pl6sip67i3cpdlf94cejx":271,"y5j603ovmm1q1778cp0v5vu6nnumwjic":274,"0wymekknalrixqxw0k74lpskbf8tbc5n":277,"74elikljw4yjs1t7svggpte5ksmrk8vn":280,"zfzo6a65ducx8hjjtf1rjwsidozwqb61":283,"mlmpzmclllkasepki1td537uf41vjj7f":286,"8fkvgdvaw8vajmkaox3rxbbjlai0mhca":289,"067lhm1yv7q8847cwyxvik2mi4go84zj":293,"trwco5lqyx3xdmb3drx2c6vqarnthecm":296,"7rj3vw9r2l5rxj1jtbilrtx5kgyvdn7t":300,"1uvpgubae8gr34bxb517ue42wy5icqux":304,"2js1i3djm5y5w2iqeobo37ehls7r39wx":307,"r6cz0jvx6ve497wzt6q1wepmm1qeyx93":310,"80xacygxo4hup5d2jw94cy998f3xvtyy":314,"x225rfb9i3cn0vk3v1r8xugwplwxrhwk":317,"aif88h2vrjt8vbhck2a61clprlurssnr":321,"i6q960ztf39cvm9h0vw4bnl87nvp4gh2":324,"qwus3enbibdp3aks058sj1h8fssm8l8m":327,"8b1f85bsmy8iffb6nlauzu6azw39we8c":331,"os89pk65tokb16kaxe7wvrssgftekpfy":334,"cycane3clhsfodsavz9qyf35ncbzu1fd":337,"qw0ida79f3ga4m78u7l2l7dy9ermczzi":340,"qjc8kp9g07w9krywz6rpwmu6pwn0ung2":343,"rmx511jgf3li3gcv609s5n69fimrhriu":347,"a4jzz4xz854m1izc3e47retgj7ntroti":351,"awaon7nlr7ez2bz7hn7mv41tfgsqwxi2":354,"e9hzw0fuvwjqreyp1h2qmhj7e17qo7gz":357},{"id":231,"type":232,"from":28,"to":35,"properties":233},"mhshmzidqglblady8fy83xqx3b0ep6j1","may",{"priority":234,"condition":235,"push":236},4,"skateboards_stock > 0","skateboards_stock",{"id":238,"type":232,"from":28,"to":43,"properties":239},"9rtq364bo0s6giht34gs02djrtk3svz3",{"priority":234,"condition":240,"push":241},"shoes_stock > 0","shoes_stock",{"id":243,"type":232,"from":35,"to":50,"properties":244},"4s93yhmqhenyd32m0wkikn3zmpweng7n",{"priority":234,"condition":245},"selected",{"id":247,"type":232,"from":56,"to":62,"properties":248},"yx4wjl3uz11eamv4inmscxifbrdr6yjb",{"priority":234,"condition":67},{"id":250,"type":232,"from":43,"to":69,"properties":251},"gcez990wn0u3fvi3hlw732nc7t2b3bmz",{"priority":234,"condition":245},{"id":253,"type":232,"from":75,"to":81,"properties":254},"56ay0gadar0tabcemfvvetzek1vipfqz",{"priority":234,"condition":67},{"id":256,"type":232,"from":110,"to":104,"properties":257},"orjf8mo2ipxgf48zc7zylr4d5knfkxnr",{"priority":234,"condition":258,"push":236},"activated > 1",{"id":260,"type":232,"from":92,"to":116,"properties":261},"uoqki98aakulcpqzkikvq86wa6ar7kmp",{"priority":234,"condition":262},"arrived",{"id":264,"type":232,"from":98,"to":116,"properties":265},"xwfnencn9s96iej5xgaxhqbfj5k58fn9",{"priority":234,"condition":262},{"id":267,"type":268,"from":116,"to":28,"properties":269},"xj6ef562gnofgyxwai6obah2au13txt7","call",{"priority":234,"condition":262,"method":270},"reset",{"id":272,"type":232,"from":81,"to":98,"properties":273},"eaq3w9d0ip0pl6sip67i3cpdlf94cejx",{"priority":234,"condition":245},{"id":275,"type":232,"from":62,"to":92,"properties":276},"y5j603ovmm1q1778cp0v5vu6nnumwjic",{"priority":234,"condition":245},{"id":278,"type":232,"from":20,"to":122,"properties":279},"0wymekknalrixqxw0k74lpskbf8tbc5n",{"priority":234,"condition":262},{"id":281,"type":232,"from":6,"to":128,"properties":282},"74elikljw4yjs1t7svggpte5ksmrk8vn",{"priority":234},{"id":284,"type":232,"from":128,"to":20,"properties":285},"zfzo6a65ducx8hjjtf1rjwsidozwqb61",{"priority":234,"condition":262},{"id":287,"type":232,"from":50,"to":134,"properties":288},"mlmpzmclllkasepki1td537uf41vjj7f",{"priority":234,"condition":262},{"id":290,"type":232,"from":134,"to":140,"properties":291},"8fkvgdvaw8vajmkaox3rxbbjlai0mhca",{"priority":292,"condition":67},6,{"id":294,"type":232,"from":134,"to":146,"properties":295},"067lhm1yv7q8847cwyxvik2mi4go84zj",{"priority":234,"condition":67},{"id":297,"type":232,"from":134,"to":152,"properties":298},"trwco5lqyx3xdmb3drx2c6vqarnthecm",{"priority":299,"condition":67},5,{"id":301,"type":232,"from":134,"to":158,"properties":302},"7rj3vw9r2l5rxj1jtbilrtx5kgyvdn7t",{"priority":234,"condition":303},"answered",{"id":305,"type":232,"from":158,"to":56,"properties":306},"1uvpgubae8gr34bxb517ue42wy5icqux",{"priority":234,"condition":262},{"id":308,"type":232,"from":69,"to":164,"properties":309},"2js1i3djm5y5w2iqeobo37ehls7r39wx",{"priority":234,"condition":262},{"id":311,"type":232,"from":164,"to":170,"properties":312},"r6cz0jvx6ve497wzt6q1wepmm1qeyx93",{"priority":313,"condition":67},9,{"id":315,"type":232,"from":164,"to":176,"properties":316},"80xacygxo4hup5d2jw94cy998f3xvtyy",{"priority":299,"condition":67},{"id":318,"type":232,"from":164,"to":182,"properties":319},"x225rfb9i3cn0vk3v1r8xugwplwxrhwk",{"priority":320,"condition":67},7,{"id":322,"type":232,"from":164,"to":188,"properties":323},"aif88h2vrjt8vbhck2a61clprlurssnr",{"priority":234,"condition":303},{"id":325,"type":232,"from":188,"to":75,"properties":326},"i6q960ztf39cvm9h0vw4bnl87nvp4gh2",{"priority":234,"condition":262},{"id":328,"type":232,"from":194,"to":28,"properties":329},"qwus3enbibdp3aks058sj1h8fssm8l8m",{"priority":234,"push":330,"as":236},"value",{"id":332,"type":232,"from":201,"to":28,"properties":333},"8b1f85bsmy8iffb6nlauzu6azw39we8c",{"priority":234,"push":330,"as":241},{"id":335,"type":232,"from":122,"to":207,"properties":336},"os89pk65tokb16kaxe7wvrssgftekpfy",{"priority":234,"condition":262},{"id":338,"type":232,"from":207,"to":201,"properties":339},"cycane3clhsfodsavz9qyf35ncbzu1fd",{"priority":234,"condition":262},{"id":341,"type":232,"from":207,"to":194,"properties":342},"qw0ida79f3ga4m78u7l2l7dy9ermczzi",{"priority":234,"condition":262},{"id":344,"type":232,"from":28,"to":86,"properties":345},"qjc8kp9g07w9krywz6rpwmu6pwn0ung2",{"priority":234,"condition":346},"skateboards_stock == 0",{"id":348,"type":232,"from":28,"to":213,"properties":349},"rmx511jgf3li3gcv609s5n69fimrhriu",{"priority":234,"condition":350},"shoes_stock == 0",{"id":352,"type":232,"from":28,"to":110,"properties":353},"a4jzz4xz854m1izc3e47retgj7ntroti",{"priority":234,"condition":235,"push":236},{"id":355,"type":232,"from":28,"to":219,"properties":356},"awaon7nlr7ez2bz7hn7mv41tfgsqwxi2",{"priority":234,"condition":240,"push":241},{"id":358,"type":232,"from":219,"to":224,"properties":359},"e9hzw0fuvwjqreyp1h2qmhj7e17qo7gz",{"priority":234,"condition":258,"push":241},1775047001731]