[{"data":1,"prerenderedAt":49},["ShallowReactive",2],{"workflow-explicit-failure-with-parallel-states":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":15,"diagram":16,"extension":17,"framework":18,"gitHub":19,"introBox":28,"level":32,"meta":33,"resources":34,"s3URL":37,"services":38,"simplicity":40,"stem":41,"testing":42,"type":46,"usecase":47,"videoId":27,"__hash__":48},"workflows\u002Fworkflows\u002Fexplicit-failure-with-parallel-states.json","Advanced error handling for tasks in parallel state",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fpeh-jing-xiang.json",{"text":13},[14],"sam deploy --guided","This workflow demonstrates an explicit failure when running concurrent tasks in a parallel state.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fexplicit-failure-with-parallel-states.png","json","AWS SAM",{"template":20,"payloads":25},{"repoURL":21,"templateDir":22,"templateFile":23,"ASL":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fexplicit-failure-with-parallel-states\u002F","explicit-failure-with-parallel-states","template.yaml","statemachine\u002Fstatemachine.asl.json",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"How it works",[15,31],"The objective is to mark the execution as a failure whenever a branch encounters an error while also ensuring all branches within the parallel state completes.","200",{},{"headline":35,"bullets":36},"Additional resources",[],null,[39],"lambda","2 - Pattern","workflows\u002Fexplicit-failure-with-parallel-states",{"headline":43,"text":44},"Testing",[45],"See the GitHub repo for detailed testing instructions.","Standard","Error Handling","tNBgmeAcAYvvFDocVt_xFvj2FWcFAAoVT0rt9Ysqw6E",1781692549688]