From the course: AWS for Developers: SNS, SQS, and SWF

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing the workflow

Testing the workflow - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: SNS, SQS, and SWF

Start my 1-month free trial

Testing the workflow

- [Instructor] Back in the SWF consol, if you look at the activities tab on this workflow execution, you can see that the collect application fee step has been completed by its worker. And if you click the events tab, you'll see that the workflow execution is waiting for the decider to run again and pull the decider task from the main task list and tell SWF what does it need to do next. Run the enrollment decider again by typing php space EnrollmentDecider.php. Refresh the workflow execution events again in the SWF consol. And now our workflow is waiting for the criminal history check activity worker to run. Open up CriminalHistoryCheckWorker.php. This file is almost identical to the collection application fee worker, but this worker looks at the criminal history check task list, and when it's done processing an activity task, it'll mark it completed with a result of criminal history check completed. Run this…

Contents