title: AWS Step Function - Wait until an event
body: <p>I have a use case where I have a AWS Step function that is triggered when a file is uploaded to S3, from there the first step runs an ffprobe to get the duration of the file from an external service such as transloadit where the output is written back to S3.</p>
  
  <p>I can create a new step function from that event, but I was wandering if it is possible to have an Await promise inside the original step function and then continue to the next - taking into account that it could take longer for the ffprobe to comeback.</p>
  
  <p>Any advice is much appreciated on how to tackle this.</p>