{"action":"created","issue":{"url":"https://api.github.com/repos/botify-labs/simpleflow/issues/157","repository_url":"https://api.github.com/repos/botify-labs/simpleflow","labels_url":"https://api.github.com/repos/botify-labs/simpleflow/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/botify-labs/simpleflow/issues/157/comments","events_url":"https://api.github.com/repos/botify-labs/simpleflow/issues/157/events","html_url":"https://github.com/botify-labs/simpleflow/issues/157","id":190871472,"number":157,"title":"Running a Group with multiples of the same task callable does not execute all multiples","user":{"login":"jfwood","id":852701,"avatar_url":"https://avatars.githubusercontent.com/u/852701?v=3","gravatar_id":"","url":"https://api.github.com/users/jfwood","html_url":"https://github.com/jfwood","followers_url":"https://api.github.com/users/jfwood/followers","following_url":"https://api.github.com/users/jfwood/following{/other_user}","gists_url":"https://api.github.com/users/jfwood/gists{/gist_id}","starred_url":"https://api.github.com/users/jfwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfwood/subscriptions","organizations_url":"https://api.github.com/users/jfwood/orgs","repos_url":"https://api.github.com/users/jfwood/repos","events_url":"https://api.github.com/users/jfwood/events{/privacy}","received_events_url":"https://api.github.com/users/jfwood/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-22T00:02:43Z","updated_at":"2016-11-22T17:41:16Z","closed_at":"2016-11-22T17:24:05Z","body":"If I have a task class such as this one:\r\n\r\n@activity.with_attributes(task_list='quickstart', version='example')\r\nclass Delay(object):\r\n   ....\r\n\r\nAnd then try to build up a Group of these such as:\r\n\r\nc1 = canvas.Chain(\r\n    canvas.ActivityTask(Delay),\r\n    canvas.ActivityTask(Foo),\r\n    canvas.ActivityTask(Bar),\r\n)\r\n\r\nc2 = canvas.Chain(\r\n    canvas.ActivityTask(Delay),\r\n    canvas.ActivityTask(Foo),\r\n    canvas.ActivityTask(Bar),\r\n)\r\n\r\ng = canvas.Group(c1, c2)\r\nself.submit(g)\r\n....\r\n\r\nI'm noticing that the the first task (Delay here) is run separately, but only one Foo and Bar is run. Looking at the guts of the Dispatch module, it looks like the module/activity-name are the only thing to distinguish tasks like this, so it seems that for parallel tasks, we'd need to use unique tasks/task-classes for each of the parallel actions?\r\n"},"comment":{"url":"https://api.github.com/repos/botify-labs/simpleflow/issues/comments/262310872","html_url":"https://github.com/botify-labs/simpleflow/issues/157#issuecomment-262310872","issue_url":"https://api.github.com/repos/botify-labs/simpleflow/issues/157","id":262310872,"user":{"login":"jbbarth","id":29363,"avatar_url":"https://avatars.githubusercontent.com/u/29363?v=3","gravatar_id":"","url":"https://api.github.com/users/jbbarth","html_url":"https://github.com/jbbarth","followers_url":"https://api.github.com/users/jbbarth/followers","following_url":"https://api.github.com/users/jbbarth/following{/other_user}","gists_url":"https://api.github.com/users/jbbarth/gists{/gist_id}","starred_url":"https://api.github.com/users/jbbarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbbarth/subscriptions","organizations_url":"https://api.github.com/users/jbbarth/orgs","repos_url":"https://api.github.com/users/jbbarth/repos","events_url":"https://api.github.com/users/jbbarth/events{/privacy}","received_events_url":"https://api.github.com/users/jbbarth/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T17:41:16Z","updated_at":"2016-11-22T17:41:16Z","body":"@jfwood we also have lots of troubles with the official SWF web console. So we built an alternative interface just for our monitoring needs => https://github.com/jbbarth/webflow. If you want more informations or need help getting up and running, don't hesitate to ping me in that project, I'd be happy to help!"}}
{"actor":{"display_login":"jbbarth"}}