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.
Solution: Create a new activity - Amazon Web Services (AWS) Tutorial
From the course: AWS for Developers: SNS, SQS, and SWF
Solution: Create a new activity
(upbeat music) - [Instructor] In the code for the decider, I copied the reference check logic, and I created a new section for the portfolio review. I moved the code for closing the workflow to occur after the portfolio is reviewed, and at the end of the reference check, I have the decider create a new worker task for the portfolio review task list. In the SWF Console, I added another activity type, and I called it portfolio review. I copied one of the existing workers, and I renamed it to portfolioreviewworker.php, and I just changed the lines that refer to, say I copied this from the reference check, to now look at the portfolio review task list. If this was a real project, you could use SNS to email the admissions board with a note to review the applicant's portfolio, and inside that email could be a link to approve this applicant, so clicking on that link would just call a page on the server that marks this worker…
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)
-