-
1. Re: Status / Documentation of gwt-console & report-server
kukeltje Jun 10, 2009 7:33 AM (in response to camunda)You are right in noticing that the current installation does not do much. Well, no that is not really true. Tasks do work afaik, but you need a process that has them. There is one in the examples called taskform.
I'm filing jira issues on the console. Not for missing functionality but for 'bugs'
Regarding the functionality and the ui there should indeed be a discussion on what goes where. Especially what goes into the menu and what goes into tabs. That should be intuitive. Maybe (I would hope they do) JBoss has some ui design experts. -
2. Re: Status / Documentation of gwt-console & report-server
kukeltje Jun 10, 2009 8:20 AM (in response to camunda)Hmm.... rereading my post I see a omission. Of course it does more (not much is a wrong statement) but you initially do not see it does more. You can start processes etc, see them, pause them etc... forgive my statement
-
3. Re: Status / Documentation of gwt-console & report-server
heiko.braun Jun 17, 2009 4:28 AM (in response to camunda)That's right, the docs are still missing. Some of the functionality is only available in particular situations, i.e:
- depending on the process itself (i.e task forms)
- the type & contents of process deployments (i.e. process image)
- plugin functionality (forms)
Before you go ahead a d discuss UI elements, it would make more sense to think about meaningful constraints, that can be applied to process deployments. Currently the console has to cope with a lot of unknowns, which derive from the "everything possible, but nothing mandatory" style of coding that jbpm4 reflects.
Up to now I tried to include functionality in the console that is applicable to most of the use cases, but of course there is much more do add. However if it only applies to a small percentage of use cases and furthermore isn't even constrained to a certain degree we cannot simply add it.
I'll give you an example:
Process variable inspection is one of those cases. There is currently no constraint on variables whatsoever. The "hashmap" style of design allows for everything and nothing at the same time. Of course it would be useful have that feature in the console, but without any type descriptions associated with the process it will only work in particular situations and break in others.
I can list plenty of other features that have been hold back, because the core codebase doesn't allow for reliable hook into runtime inspection. -
4. Re: Status / Documentation of gwt-console & report-server
tom.baeyens Jun 17, 2009 4:52 AM (in response to camunda)from a prioritization perspective, first focus should be to complete this list of functionalities
http://www.jboss.org/community/wiki/GWTConsoleFeatureSet
if for those functionalities something is lacking in the core engine, discuss it and we'll deal with it.
another aspect that i want to see prioritized is that the example processes all should be fully executable using the console only.
for showing the process variable values, you can do introspection on the actual values that you get. you could render strings, numbers and dates and just use toString for all the other types. process variable editing can be addressed later. that is not a priority i think. -
5. Re: Status / Documentation of gwt-console & report-server
kukeltje Jun 17, 2009 5:23 AM (in response to camunda)I agree with Tom about the showing of variables. Afaik, the jsf console does the same.
The suggestion about the constraints regarding processdeployments is a valid one as well. Would the 'assume nothing, expect everything' be a good approach? Like there *can* be a processimage or there can be forms but if one is not there, at least show a decent error? -
6. Re: Status / Documentation of gwt-console & report-server
kukeltje Jun 17, 2009 5:27 AM (in response to camunda)a decent *runtime* error that would be
-
7. Re: Status / Documentation of gwt-console & report-server
camunda Jun 17, 2009 10:16 AM (in response to camunda)A short comment from me as well.
The wiki page looks already promising. For me, most important would be some easy things:
- see the current activity of a process instance (would be sufficient as a column in the table)
- See all process instances (not selecting a process definition)
By the way: How do I see Child Executions / the Execution Hierarchie? This would be important as well.
And and some feedback on the usability: To have the ProcessDefinition/ProcessInstance Tab was a bit confusing for me first. I didn't recognize they have a relationship to each other...Heiko wrote:
Process variable inspection is one of those cases. There is currently no constraint on variables whatsoever. The "hashmap" style of design allows for everything and nothing at the same time. Of course it would be useful have that feature in the console, but without any type descriptions associated with the process it will only work in particular situations and break in others.
I agree with the others, a simple table with the toString representation would be already a big step ahead. With some improvement it may get a generic Tree (e.g. to show lists, maps and object properties easily). This is what we have in a couple of rich clients at some customers already.
If you then cann delete, change or add variables/entries (add by specifying the class name), it would be already very sophisticated :-) But this has not a very high priority (even if I had the demand already a couple of times).
But I am eager to the see the next evolution of it :-)Heiko wrote:
Currently the console has to cope with a lot of unknowns, which derive from the "everything possible, but nothing mandatory" style of coding that jbpm4 reflects.
Yeah, I think thats the destiny of a generic process engine console ;-) -
8. Re: Status / Documentation of gwt-console & report-server
camunda Jun 20, 2009 10:14 AM (in response to camunda)Hey Heiko.
Do you have some description how to use task forms somewhere? Or an example in the code?
I wanted to create a showcase for a presentation but cannot find how I use it...
Thanks
Bernd -
9. Re: Status / Documentation of gwt-console & report-server
heiko.braun Jun 22, 2009 5:27 AM (in response to camunda)@bernd
there is a forms example within the example package.
you'd basically need a freemarker template associated with a task activity.
it follows a naming convention: <task activity name>.ftl
you can then open the form from within the console.
the docs will be shipped with GA. Basically this week. -
10. Re: Status / Documentation of gwt-console & report-server
heiko.braun Jun 22, 2009 5:32 AM (in response to camunda)@bernd
see this one as well:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155048 -
11. Re: Status / Documentation of gwt-console & report-server
camunda Jun 22, 2009 6:15 AM (in response to camunda)Hi Heiko.
Thanks for the response. Found it. Sorry for disturbing you unnecessary (I thought I searched for it, seems I was too blinf ;-)).
Cheers
Bernd -
12. Re: Status / Documentation of gwt-console & report-server
camunda Jun 22, 2009 6:16 AM (in response to camunda)And the other forum entry is helpful as well...