cancel
Showing results for 
Search instead for 
Did you mean: 

Extending input types of Service Task attributes in Modeler

ddweerasiri
Champ in-the-making
Champ in-the-making
Hi,
I am referring to the Activiti Modeler powered by KIS BPM.
I can extend the Service Task by editing the stencilset.json in WEB-INF/lib/classes (http://forums.activiti.org/content/how-extend-modeler explains how to do this).

But I need to extend the input method for an attribute. Consider "Class" attribute in the Service Task. It now allows to specify a class in a text box. But what I need to implement is an external web interface, so a user can search through a list of classes and choose a class rather manually typing it. Is this possible with existing extension mechanisms in Modeler?

[img]http://s11.postimg.org/b5vsgk437/Screen_Shot_2014_01_30_at_5_53_29_PM.png[/img]
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
That's possible, but not by just editing the stencilset.json. The type of the class-property will no longer be "string", but will be a complex type. You'll have to add some code the the oryx-javascript, to render a custom editor for that specific type of property, in your case, showing a popup-box that does all the calls to the service. This requires javascript-coding and some digging into the oryx-internals.

Thanks aot.
I was able to get this done.