diff --git a/examples/simple-activity-worker.js b/examples/simple-activity-worker.js
index <HASH>..<HASH> 100644
--- a/examples/simple-activity-worker.js
+++ b/examples/simple-activity-worker.js
@@ -13,7 +13,7 @@ var activityPoller = new swf.ActivityPoller({
 
 activityPoller.on('activityTask', function(task) {
     console.log("Received new activity task !");
-    var output = task.input;
+    var output = task.config.input;
 
     task.respondCompleted(output, function (err) {
task input is available from task.config.input