cancel
Showing results for 
Search instead for 
Did you mean: 

Model extension with dynamic Choice - Activiti Modeler

bcribbs
Champ in-the-making
Champ in-the-making
I'm investigating Activiti for possible use in a proof of concept. I already found this thread: http://forums.activiti.org/content/how-extend-modeler which led me to the wiki page: http://docs.codehaus.org/display/ACT/Extending+Modeler+with+new+task+type and I was able to duplicate parts of the stencilset.json file to create a new model object with its own properties.

What I'm trying to figure out is how to make a choice property with dynamic attributes. The end goal is to have a user select a service from a list rather than relying on them to type the name of the service in correctly. Ideally I'd like for this to be a somewhat real-time list of services that I could grab in any number of ways.

Is this even possible?

Thanks,
Brian
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
If you modify the modeler-sourcecode, that's possible. You whould have to plug in a custom "editor" in the oryx-configuration/code that is used when a stencil-property of e certain type is edited in the modeler UI. We don't have an example of this, however this is perfectly possible.

neoashu
Champ in-the-making
Champ in-the-making
Hi Brian,
Any luck with choice property with dynamic values?
I am also trying for the same, and then populate Complex property with dynamic values(at least static values from stenilset.json is working).

Thanks in advance,
Ashish