full text search in variables

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2011 08:20 AM
I would like to do something like
historyService.createHistoricDetailQuery().variableUpdates().variableNameLike("%varname%") //missing api method.variableValueLike("%varvuale%") //missing api method.list();
So the only alternative is to retry every variable update and cycle them?! And if I have 2 millions variable updates?! There will be an OutofMemory error for sure!
Any other way to accomplish this requirements?
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2011 09:15 AM
Meanwhile you can send JIRA request for that functionality (if it is not implemented).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2011 09:38 AM
I think it should be a fundamental operation of the historical engine.
I hope that the activiti staff explain us how to deal with this requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2011 02:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2011 05:14 AM
runtimeService.createProcessInstanceQuery().variableValueLike(arg0, arg1)
and not historicalService.createProcessInstanceQuery().variableValueLike(arg0, arg1)
or
historicalService.createHistoricDetailQuery().variableValueLike(arg0, arg1)
sorry, but it seems not coeherent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2011 10:36 AM
2: I never mentioned everything was coherent
3: The fact that something is possible does mean it is optimal (try driving in a screw with a hammer)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2011 10:49 AM
Critics help project growth of project. I thought it would be nice to point out this lacks in functionality… maybe I was wrong.
Thank you anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2011 01:39 PM
4: I never said it was optimal to search ALL process variables. 🙂
We (I) never search ALL process variables. They are only used in the process instance/engine. If I want/need to search things, I search in the domain model (and/or something like Alfresco ECM) and find the corresponding entries in the bpm engine if necessary
The next question could be: 'I want to search in a pdf as well, can that be done?', or something similar. Sure it can, but that is what a content management solution is good at.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 06:30 AM
Sorry, my comment was not meant to sound harsh. Criticism helps indeed, but often people are looking for one-solution-fits-all in a bpm engine and they want to have it do everything. That is never a good way to start.
4: I never said it was optimal to search ALL process variables. 🙂
We (I) never search ALL process variables. They are only used in the process instance/engine. If I want/need to search things, I search in the domain model (and/or something like Alfresco ECM) and find the corresponding entries in the bpm engine if necessary
The next question could be: 'I want to search in a pdf as well, can that be done?', or something similar. Sure it can, but that is what a content management solution is good at.
I'm not looking for one-framework-to-rule'em-all, I agree with you but I think that variable search should be a process engine responsability. I think that engine will have a great usability boost with this feature.
You never said it was optimal, but it's the only kind of search that process engine expose for historical variables…
If you never search for process variable means that you are modeling some data as domain data and as process data.
It sounds me quite redundant (at least), don't you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 12:24 PM
