[jBPM Development] - Re: jpdl syntax for ejb method invoke activity
by tom.baeyens@jboss.com
I think the invoking an ejb should be called just 'java'
As the java activity actually means invoke a java method. At least, that is the reasoning behind it.
Some more questions we need to think about:
1) there is a <jndi jndi-name="..." /> element in the wiring section of jpdl. What is then the most consistent way of naming the jndi element ? In that case the full element specifies only jndi so i don't really know what is the most consistent here.
2) do we need to distinct between session and entity beans ? or can we use reflection to find out ? or maybe that doesn't matter any more in ejb 3 ? i don't know.
but if we need to make a distinction in the language between session and entities, we might have to consider attributes like session-ejb-jndi-name and entity-ejb-jndi-name.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269938#4269938
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269938
14 years, 11 months
#JBPM-2506
by Sebastian Schneider
Good morning,
regarding issue #JBPM-2506 I have a question and some remarks:
https://jira.jboss.org/jira/browse/JBPM-2506
Does this issue just refer to process variables or also to
task-variables? In case of task-variables I am proposing the following:
- add an attribute stating if a task-variable is needed for a task to be
completed properly or if the variable is optional
- extend the API so that one can query the list of a task's variables
- distinguish between optional and obligatory task-variables
In combination with issue #JBPM-2609 this could simplify development of
user interfaces which aim to be generic.
https://jira.jboss.org/jira/browse/JBPM-2609
Am I misleaded or does this make sense to you?
Regards
Sebastian
--
Sebastian Schneider
14 years, 11 months
[jBPM Development] - Wondering about where the best place for forms really is
by rmoskal
I've been developing a fairly substantial app and as I work I've been going back and forth on task forms. I keep wanting to be able to assign them to transitions instead of task nodes as is supported by the jpdl.
This way way use cases like a a review task, where a manager can "reject", "approve", or "ask for "rework from a another department" can be handled elegantly: I simply show a different form for each transition.
I actually started down this path a fair way then become worried that I would freak out my client making such an non-idiomatic use of jbpm. So I started reworking my forms to be task node based.
When I moved my forms to the task nodes, they suddenly need to become a lot smarter. I have to show different you elements based on which transition I want to take anyway. The UI is a bit different when one approves something than when one rejects (one might want to reassign the work for example). And different again if I want to send the task to another department for rework.
I have many scenarios like the above, and they were handled elegantly when I associated tasks with transitions. I thought about making the reassignment or the rework step to be separate task nodes, but this complexifies the work flows and it seems that from the users and the systems perspective this should be thought of as one task and not many.
Has anyone had thoughts down these lines? Am I being perverse? My app has a completely custom admin console (written in extjs) so I'm not losing anything by not having the jbpm console.
Color me curious,
Robert Moskal
Brooklyn, USA
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268923#4268923
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268923
14 years, 11 months