{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/883","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/883/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/883/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/883","id":169060217,"number":883,"title":"Cannot call next step with completed status","user":{"login":"jmendiara","id":851359,"avatar_url":"https://avatars.githubusercontent.com/u/851359?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendiara","html_url":"https://github.com/jmendiara","followers_url":"https://api.github.com/users/jmendiara/followers","following_url":"https://api.github.com/users/jmendiara/following{/other_user}","gists_url":"https://api.github.com/users/jmendiara/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendiara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendiara/subscriptions","organizations_url":"https://api.github.com/users/jmendiara/orgs","repos_url":"https://api.github.com/users/jmendiara/repos","events_url":"https://api.github.com/users/jmendiara/events{/privacy}","received_events_url":"https://api.github.com/users/jmendiara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T06:48:19Z","updated_at":"2016-08-04T06:18:49Z","closed_at":"2016-08-04T06:18:49Z","body":"Using a waterfall strategy with multiple steps, calling `next` (or `skip`) function with  `ResumeReason.completed` resume status, calls next step in waterfall with `ResumeReason.forward` status\r\n\r\n### version\r\nnodejs `botbuilder v3.1.1` \r\n### reproduce\r\n```ts\r\nimport * as BotBuilder from 'botbuilder';\r\nconst bot = new BotBuilder.UniversalBot();\r\n\r\nbot.dialog('bug', [\r\n   resolveDialog,\r\n   printResumed\r\n]);\r\n\r\nfunction resolveDialog(session: BotBuilder.Session, args: any, next: (results?: BotBuilder.IDialogResult<string>) => void) {\r\n  next({\r\n    response: 'hello world',\r\n    resumed: BotBuilder.ResumeReason.completed\r\n  });\r\n}\r\n\r\nfunction printResumed(session: BotBuilder.Session, results: BotBuilder.IDialogResult<string>) {\r\n  console.log(results.resumed);\r\n}\r\n```\r\n### expected behabiour\r\nExecuting `session.beginDialog('bug')` should output `0`\r\n### current behabiour\r\nExecuting `session.beginDialog('bug')` outputs `4`\r\n\r\n\r\n \r\n"}}
{"actor":{"display_login":"Stevenic"}}