cancel
Showing results for 
Search instead for 
Did you mean: 

Example application for integration Activiti and ZK

shar
Champ in-the-making
Champ in-the-making
Example application for  integration Activiti (Workflow Software) and ZK (Enterprise Framework)

Plus example issue tracker process.

Can be to somebody will it is  useful.

http://sourceforge.net/projects/zkabpm/

Problems:

1. It is impossible to remove variables, only set to null
2. I do not know as to limit the rights to start of certain process
3. I do not know as to receive the list of variables without loading type variables byte [] (BLOB)
4. Very much there is no possibility of selection of variables on type and-or a tag

Somebody can give advice?
5 REPLIES 5

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
1: known issue
2: currently you have to build something yourself (not difficult)
3: write your own query via sql
4: ? What do you mean by tag, type is indeed not possible unless you write your own query. And never saw this requirement the last couple of years

shar
Champ in-the-making
Champ in-the-making
1: known issue
2: currently you have to build something yourself (not difficult)
3: write your own query via sql
4: ? What do you mean by tag, type is indeed not possible unless you write your own query. And never saw this requirement the last couple of years

When I wrote this example, I put for myself the purpose as much as possible to use possibilities of your tool (API). I understand that I can write SQL queries and I understand that I can write a additional code.
However, I put for myself aim to make the elementary application (issue tracker) only with the help means of your library. Unfortunately, at me it has not turned out.
For example, tags are necessary to me for allocation of groups of variables.
Approximately as, probably, you use field TYPE_ of table ACT_ID_GROUP.
Basically, it was required to me then when I was required need all variables in which I have put attachments (files-blob)

In any case, negative experience it nevertheless experience. Smiley Happy
By the way, it is necessary to tell that some things at you are made more conveniently than in jbpm.
Forgive for my English. I badly speak in English

jbarrez
Star Contributor
Star Contributor
I'm having a hard time imagining that writing an issue tracker with Activiti is hard.

What exactly was the problem? What didn't work out of the box?

shar
Champ in-the-making
Champ in-the-making
I warned already, that badly know English.
Therefore, not all turns of speech in your letter are clear me.
However, I wrote an universal instrument (while only prealpha), allowing to use the forms of ZK for the entry of data (variables) of Activiti.
As an example I wanted to use the process of type of issue tracker and form of ZK for the entry of data.
Thus I want maximally to use the mechanisms of storage of data of Activiti.
I do not want to create additional structures in a database and mechanisms of their change.
It is beyond my task.
I want to use application exactly in because I described.
Basic problems for me (except for unpleasant errors in Designer) it is been:
1. Work with BLOB. I write down attachments (files, docs etc) in BLOB-variable (byte[]).
   I do not know how to represent the list of attachments (files) not loading content of attachments in memory.
   Now I get the list of all variables and represent variables with the type of byte[] (using instance of).
   Thus content is loaded in memory. This way expends memory and time on loading of large volumes of information.
   Therefore I talked about a desire to get greater control above variables (types and, maybe, groupments)

Other not so is important.

2. But however it would be desirable to have a mechanism of management rights on the start of process.
3. Possibility of delete of variables.
4. History blob-variables

I want to underline that your product I like.
Before stopped for him I studied other, but Activiti me it seems to more simple and in also time by a powerful instrument.
I do not insist on the suggestions. I only ask to take into account them at consideration of new possibilities of Activiti.

Once again I beg pardon for my bad English.
It can be therefore we do not find understanding.

P.S. I very value your time. If my suggestions seem to you unmeaningful can not hamper itself an answer.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Thus I want maximally to use the mechanisms of storage of data of Activiti.
I do not want to create additional structures in a database and mechanisms of their change.
It is beyond my task.

Sometimes (often) this is a bad choice,  since domain models are easier to maintain, query etc, see my responses to your 4 questions below 🙂

2. But however it would be desirable to have a mechanism of management rights on the start of process.
Yes a nice addition. There is a jira issue for this afaik. Maybe you can help out a little

1. Work with BLOB. I write down attachments (files, docs etc) in BLOB-variable (byte[]).
   I do not know how to represent the list of attachments (files) not loading content of attachments in memory.
   …
This is one of the reasons to *not* fully use the storage and db of the engine

3. Possibility of delete of variables.
See above

4. History blob-variables

See above 😉

Once again I beg pardon for my bad English.
I once heard Joram Barrez say that it might sometimes be easier to write in your own language and use google translate to help out… try that once 😉