Created attachment 614025 [details] Icon for service Description of problem: I define Work Item Definition and use template for it (just change name and icon). But if I open/create BPMN2 process and expand Service Tasks in ShapeRepository, I am not able to find my service. Version-Release number of selected component (if applicable): BRMS 5.3.1 ER1 How reproducible: Every time Steps to Reproduce: 1. Add my icon (is attached) into package 2. Create new Work Item Definition 3. Change property "name" to "MyService1" (instead of "MyTask" write "MyService1") 4. Change property "displayName" to "My service 1" (instead of "My Task" write "My Service 1") 5. Add icon location (use icon's select) 6. Save and close asset 7. Open BPMN2 process (designer) Actual results: I am not able to find service node in Shape repository under Service tasks. In server.log occurs ERROR: [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-127.0.0.1-8080-32) Failed to setup workitems : [Error: unbalanced braces [ ... ]] [Near : {... [ ....}] ^ [Line: 4, Column: 1] But brackets are balanced. Expected results: That service node occurs in Shape Repository of BPMN2 process designer. That template of Work Item Definition is valid. Any tool for validation. (User have not got acces to server.log) Additional info: Work Item Definition code: import org.drools.process.core.datatype.impl.type.ObjectDataType; import org.drools.process.core.datatype.impl.type.StringDataType; [ [ "name" : "MyTask", "parameters" : [ "MyFirstParam" : new StringDataType(), "MySecondParam" : new StringDataType(), "MyThirdParam" : new ObjectDataType() ], "results" : [ "Result" : new ObjectDataType() ], "displayName" : "My Task", "icon" : "http://localhost:8080/jboss-brms/rest/packages/defaultPackage/assets/icon1/binary", ] ]
Can you validate your workitem definition in the Guvnor workitem definitions editor? Does is pass?
Not able to reproduce this problem. Seems to work fine.
waiting on reproducible test case I lost repository, in which was this problem. I cannot reproduce it in empty repository.
Ok, I will wait until it can be reproduced again. Until then could we set the status to on_qa ?
Setting status on ON_QA untile we have a reproducible test. Thanks.