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

Solution: Create a new activity - Amazon Web Services (AWS) Tutorial

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

Start my 1-month free trial

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…

Contents