[{"data":1,"prerenderedAt":54},["ShallowReactive",2],{"workflow-synchronous-job":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":15,"diagram":16,"extension":17,"framework":18,"gitHub":19,"introBox":28,"level":33,"meta":34,"resources":35,"s3URL":41,"services":42,"simplicity":45,"stem":46,"testing":47,"type":51,"usecase":52,"videoId":27,"__hash__":53},"workflows\u002Fworkflows\u002Fsynchronous-job.json","Synchronous Job",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fbenjamin-smith.json",{"text":13},[14],"sam deploy --guided","Wait for an asynchroous Job to finish before moving onto the next state","\u002Fassets\u002Fimages\u002Fworkflows\u002Fsynchronous-job.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\u002Fsynchronous-job\u002F","synchronous-job","template.yaml","statemachine\u002Fstatemachine.asl.json",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"How it works",[31,32],"This workflow submits an AWS Batch job. In its normal state the job is asynchronous. The state machine submits the job to the AWS Batch service and waits for the job to complete before sending a Notify Success message to an Amazon SNS topic.","This is done by making use of Step Functions `.sync` execution pattern","100",{},{"headline":36,"bullets":37},"Additional resources",[38],{"text":39,"link":40},"The AWS Step Functions Workshop","https:\u002F\u002Fcatalog.workshops.aws\u002Fstepfunctions\u002Fen-US","https:\u002F\u002Fda-public-assets.s3.amazonaws.com\u002Fworkflows\u002Fsynchronous-job\u002Fcloudformation.yml",[43,44],"sns","batch","1 - Fundamental","workflows\u002Fsynchronous-job",{"headline":48,"text":49},"Testing",[50],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","OQBCYjy83etPxQD4c2piVCsr1xYEiV6Vgnzs1BiQjFc",1782124512080]