JBoss Community

Custom workitem property in designer not working

created by tom sebastian in jBPM - View the full discussion

Hi,

     I have created a custom property for email node as below:(I created a custom workitem definition for email)

https://community.jboss.org/servlet/JiveServlet/downloadImage/2-798145-20324/310-127/designer1.PNG

 

for this I added a property in:  jbpm-designer-2.4.0.war\stencilsets\bpmn2.0jbpm\stencildata\bpmn2.0jbpm.orig

as:

{

                                                  "id":"ConfigureEmail",

                                                  "type":"Custom",

                                                  "title":"ConfigureEmail",

                                                  "value":"",

                                                  "description":"Configure Email",

                                                  "description_ja":"アクション開始時",

                                                  "readonly":false,

                                                  "optional":true

  }

 

in custom workitems session. Then the above property came to visible.

 

But after setting any value to this field it is not populated as a workitem parameter.

 

What shall ido to get it as a workitem parameter (say workitem.getParameter("ConfigureEmail")) in my custom handler.

Any idea..

Was my understanding wrong?

please help?

Reply to this message by going to Community

Start a new discussion in jBPM at Community