[{"data":1,"prerenderedAt":55},["ShallowReactive",2],{"workflow-continuous-running-glue-workflow":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":16,"diagram":17,"extension":18,"framework":19,"gitHub":20,"introBox":26,"level":34,"meta":35,"resources":36,"s3URL":42,"services":43,"simplicity":46,"stem":47,"testing":48,"type":52,"usecase":53,"videoId":42,"__hash__":54},"workflows\u002Fworkflows\u002Fcontinuous-running-glue-workflow.json","Orchestrate continuous running Glue Workflow",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>terraform destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fswapnil-kesarkar.json",{"text":13},[14,15],"terraform init","terraform apply","This workflow demonstrates how to orchestrate a continuous running Glue Workflow.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fcontinuous-running-glue-workflow.png","json","Terraform",{"template":21},{"repoURL":22,"templateDir":23,"templateFile":24,"ASL":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fsfn-continous-running-glue-workflow-tf\u002F","","main.tf","statemachine\u002Fstatemachine.asl.json",{"headline":27,"text":28},"How it works",[29,30,31,32,33],"1. Triggering Glue Workflow: Initially, the Step Function triggers a Glue workflow to begin its execution","2. Polling for Completion: After triggering the Glue workflow, the Step Function enters a polling loop. It periodically checks the status of the Glue workflow, every 60 seconds.","3. Completion Check: Once the Glue workflow completes, the Step Function checks if there are any failed actions within the workflow.","4. Decision Making: If there are no failed actions detected, the Step Function initiates a new execution of itself, thereby starting the process all over again. This effectively creates a continuous loop of triggering Glue workflows","5. Decision Making: If there are failed actions within the Glue workflow, the Step Function stops its execution. This ensures that the process halts when errors or failures occur during the Glue workflow execution","200",{},{"headline":37,"bullets":38},"Additional resources",[39],{"text":40,"link":41},"The AWS Step Functions Workshop","https:\u002F\u002Fcatalog.workshops.aws\u002Fstepfunctions\u002Fen-US",null,[44,45],"glue","sfn","2 - Pattern","workflows\u002Fcontinuous-running-glue-workflow",{"headline":49,"text":50},"Testing",[51],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","o49n7PTcoaw8UFlvPmNC8LzrF2d9qGlofvqtOJYtt8w",1779273340478]