cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Designer - Dynamic Properties in Custom Task

robertkujawa
Champ in-the-making
Champ in-the-making
Hi

I'd like to bring up issue concerning dynamic properties in Custom Service Tasks. The idea is to fill property container from other source .
In general scenario:
- dropdown property items can be populated from database, some files, etc
- properites can changes theirs content in runtime
- adding/removing properties in runtime

I have some ideas how to add such features in code
13 REPLIES 13

pascal1
Champ in-the-making
Champ in-the-making
- dropdown property items can be populated from database, some files, etc
- properites can changes theirs content in runtime
- adding/removing properties in runtime

Hi,
I just have the same problem: I want to fill the PropertyItems of a COMBOBOX_Choice by an Array/List that depends on a config-file. But there is only the "static" way @PropertyItems({ ACCOUNT_TYPE_SAVINGS_LABEL, ACCOUNT_TYPE_SAVINGS_VALUE}) ?

Is something, discussed in this thread, implemented yet? An Interface or a possibility to change the PropertyItems?

Thanks for your help,
Pascal

tiesebarrell
Champ in-the-making
Champ in-the-making
There was only a discussion here. As far as I know, no definitive plan was drafted to implement these things. If you have ideas, please post them.

cortelos
Champ in-the-making
Champ in-the-making
Hi,

I'm really interested in the option of use a combobox which is populated from an external datasource (url, database or something like that).

In my opinion, it could be done in two ways:
1) as already suggested in this post, load the value list from a class (which should be referenced in the annotation). The class should be available in the classpath of the eclipse designer.

2) "transform" the combox in a text field with an help option where a new window would appear (when clicked) with a list (or tree) of data. The user could then select the data from the tree, and when the window in closed the selected values should be passed to the form. In the property annotation it would be necessary to indicate the source (java class) for the data.

I'm available to contribute for both of the options.


Regards,

André Macedo.

javaj3d1
Champ in-the-making
Champ in-the-making
Hey was this ever implemented?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.