{"action":"created","issue":{"url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/591","repository_url":"https://api.github.com/repos/bpmn-io/bpmn-js","labels_url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/591/comments","events_url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/591/events","html_url":"https://github.com/bpmn-io/bpmn-js/issues/591","id":165768538,"number":591,"title":"Question: is camunda:list -> camunda:value -> camunda:map supported?","user":{"login":"rbatllet","id":3993987,"avatar_url":"https://avatars.githubusercontent.com/u/3993987?v=3","gravatar_id":"","url":"https://api.github.com/users/rbatllet","html_url":"https://github.com/rbatllet","followers_url":"https://api.github.com/users/rbatllet/followers","following_url":"https://api.github.com/users/rbatllet/following{/other_user}","gists_url":"https://api.github.com/users/rbatllet/gists{/gist_id}","starred_url":"https://api.github.com/users/rbatllet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbatllet/subscriptions","organizations_url":"https://api.github.com/users/rbatllet/orgs","repos_url":"https://api.github.com/users/rbatllet/repos","events_url":"https://api.github.com/users/rbatllet/events{/privacy}","received_events_url":"https://api.github.com/users/rbatllet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T11:39:01Z","updated_at":"2016-07-15T13:14:17Z","closed_at":null,"body":"Hello,\r\n\r\nI don't know if it's `a bug` or is `not implemented` yet, but I've this map inside a list in the extensionElements:\r\n\r\n```\r\n                <camunda:inputOutput>\r\n                    <camunda:inputParameter name=\"myValues\">\r\n                        <camunda:list>\r\n                            <camunda:value>\r\n                                <camunda:map>\r\n                                    <camunda:entry key=\"key1\">value 1</camunda:entry>\r\n                                    <camunda:entry key=\"key2\">value 2</camunda:entry>\r\n                                    <camunda:entry key=\"key3\">value 3</camunda:entry>\r\n                                </camunda:map>\r\n                            </camunda:value>\r\n                        </camunda:list>\r\n                    </camunda:inputParameter>\r\n                </camunda:inputOutput>\r\n```\r\n\r\nUsing the Camunda Modeler it returns a warning error:\r\n\r\n```\r\n[warning] Imported BPMN diagram with 1 warning\r\n[warning] > Unparsable content <camunda:map> detected\r\n              line: 19\r\n              column: 45\r\n              nested error: unrecognized element <camunda:map>\r\n```\r\n\r\n\r\n[diagram_1.bpmn.zip](https://github.com/bpmn-io/bpmn-js/files/365854/diagram_1.bpmn.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/comments/232947489","html_url":"https://github.com/bpmn-io/bpmn-js/issues/591#issuecomment-232947489","issue_url":"https://api.github.com/repos/bpmn-io/bpmn-js/issues/591","id":232947489,"user":{"login":"pedesen","id":2543743,"avatar_url":"https://avatars.githubusercontent.com/u/2543743?v=3","gravatar_id":"","url":"https://api.github.com/users/pedesen","html_url":"https://github.com/pedesen","followers_url":"https://api.github.com/users/pedesen/followers","following_url":"https://api.github.com/users/pedesen/following{/other_user}","gists_url":"https://api.github.com/users/pedesen/gists{/gist_id}","starred_url":"https://api.github.com/users/pedesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedesen/subscriptions","organizations_url":"https://api.github.com/users/pedesen/orgs","repos_url":"https://api.github.com/users/pedesen/repos","events_url":"https://api.github.com/users/pedesen/events{/privacy}","received_events_url":"https://api.github.com/users/pedesen/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T13:14:17Z","updated_at":"2016-07-15T13:14:17Z","body":"Hello,\r\n\r\naccording to the [reference](https://docs.camunda.org/manual/latest/reference/bpmn20/custom-extensions/extension-elements/#map) the `camunda:map` element can't have `camunda:value` as a parent and should be inserted as a direct child element of `camunda:list`:\r\n\r\n```xml\r\n<camunda:inputOutput>\r\n  <camunda:inputParameter name=\"myValues\">\r\n    <camunda:list>\r\n      <camunda:map>\r\n        <camunda:entry key=\"key1\">value 1</camunda:entry>\r\n        <camunda:entry key=\"key2\">value 2</camunda:entry>\r\n        <camunda:entry key=\"key3\">value 3</camunda:entry>\r\n      </camunda:map>\r\n    </camunda:list>\r\n  </camunda:inputParameter>\r\n</camunda:inputOutput>\r\n```\r\n\r\nIf it is the only map, it could even be inserted as a direct child if `camunda:inputParameter`"}}
{"actor":{"display_login":"pedesen"}}