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 - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: SNS, SQS, and SWF
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Create a SWF domain58s
-
(Locked)
Create an SWF workflow1m 56s
-
(Locked)
Create a SWF activity type2m 43s
-
(Locked)
Start a workflow execution4m 7s
-
(Locked)
SWF deciders2m 41s
-
(Locked)
SWF workers in PHP3m 54s
-
(Locked)
Testing the workflow3m 47s
-
(Locked)
Challenge: Create a new activity39s
-
(Locked)
Solution: Create a new activity1m 18s
-
(Locked)
-