i've do
| TaskMgmtSession taskSession = jbpmContext.getTaskMgmtSession();
| ListTaskInstance listaTask =
TaskSession.findTaskInstancesByProcessInstance(processInstance);
|
but my list is void !!!
on my start node there are two groups of user like here:
|swimlane name=Clienti
Before your query for obtain the tasks
| TaskMgmtSession taskSession = jbpmContext.getTaskMgmtSession();
| ListTaskInstance listaTask =
TaskSession.findTaskInstancesByProcessInstance(processInstance);
|
Do you create your process Instance right?
View the original post :
Of course:
|
| jbpmConfiguration = JbpmConfiguration.getInstance(WEB-INF/jbpm.cfg.xml);
| jbpmContext = jbpmConfiguration.createJbpmContext();
| graphSession = jbpmContext.getGraphSession();
|
| processDefinition =
Ok, now i think i can see the problem.
You are not working with persistence? (a Database for storing the process
information?)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4180269#4180269
Reply to the post :
i'm working with HyperSqL default db for jbpm-suite.
this is my flow:
| process-definition
| xmlns=urn:jbpm.org:jpdl-3.2 name=trip
|swimlane name=Clienti
| assignment expression=group(Clienti)/assignment
|/swimlane
|swimlane name=TourOperator
|
MAKE A SMALL UNIT TEST PLEASE.. that demonstrates the problem... not code
snippets process snippets, postting assumptions please...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4180319#4180319
Reply to the post :
this currently is not supported this way (although it would be a nice addition)
Write your own assignmenthandler for this. It can be a very simple one (see
e.g. the testcases in the source of jBPM or search on the web for examples
View the original post :
Believe I answered this one for myself... this relationship is defined as
inverse=true in the Hibernate mappings... therefore changing the pooledactor
set on the swimlane will no effect to the persistent data.
We must change the assinment on the PooledActor side:
kukeltje wrote : known issue in the current webconsole. afaik it is fixed
in the cvs head version
Sorry kukeltje, but I am using the last jBPM version, the 3.2.2 version, as you
can see here http://www.jboss.org/jbossjbpm/jbpm_downloads/.
I didn't understand very well you message.
Any
I am having the same problem.
kukeltje, can you explain what solution you have provided?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4151997#4151997
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4151997
I tried all ways to assign an actor to a task, not only using swimlanes, but
directely from the task selecting a task-node- then selecting the task in the
properties menu- then clicking in assignment and selecting actor and
entering with a valid user, but didn't work too.
Please, any help?
SOLUTION HERE:
http://jira.jboss.com/jira/browse/JBPM-1022?actionOrder=asc
Read Sebastian's comment:
I might be wrong,
but isn't it possible to easily fix it by changing the line in tasks.xhtml :
j4j:listTasks includeEnded=true target=#{tasks}/
by this one:
j4j:listTasksForActor
I am having the same problem, and I could not fix it doing what jeffcwang said.
I am using JBoss jBPM 3.2.2. When I execute the websale example the swimlane
task assignment don't work well.
I am runing the websale using jBPM Console Administrator, when I run the
websale example, show in the
known issue in the current webconsole. afaik it is fixed in the cvs head
version
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4151866#4151866
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4151866
we do not use any naming convention or something like that. We just keep them
apart by 'knowing' which swimlane the task is in. Maybe adding it to the node
so it shows up (like in uml class diagrams) would be a nice small addition.
Please file a jira issue for this
View the original post :
kukeltje wrote : Please file a jira issue for this
Done
http://jira.jboss.org/jira/browse/GPD-206
:-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149270#4149270
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149270
This can not be done at this time with jpdl designer.. but you can specify in
with swimlane every task would be.. but not graphically!
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4148680#4148680
Reply to the post :
Bummer!
Mmh.. To help keep things in check I suppose I can try to arrange the workflow
in clusters that convey the swimlane concept graphically.
Are you using some kind of naming convention to help organize your tasks?
Thanks
View the original post :
This is not a answer to your question.. but the following book could help you
to understand
how your task and activities can be organized with a BPM practical process..
Notice that in this book you can find a process with task in diferent swimlanes
and then how you can map this in the JPDL
correct since your processdefinition is *wrong* tasks can only exist in a
task-node.
Please look at the docs, search the wiki, forum and jira before posting. These
issues *are* documented
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134502#4134502
@Ken:
The JBoss Jira ofcourse. You can find it by entering search terms
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134527#4134527
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134527
Sorry, this is the part of process:
start-state name='start'
/start-state
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134261#4134261
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134261
Sorry again
| swimlane name='StartProcessActors'
| assignment class='it.valueson.croute.web.jbpm.MyAssignmentHandler'
| /assignment
| /swimlane
| start-state name='start'
| task name='initProcess' swimlane='StartProcessActors'/task
| transition to='firstState'
| action
start states are currently not assignable this way. They are assigned to the
actor who starts it. See jira for this issue.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134275#4134275
Reply to the post :
Thanks Ronald,
but in the next node:
| state name='firstState'
| task name='prova' swimlane='StartProcessActors'/task
| transition to='secondState' /
| /state
|
the MyAssignmentHandler is never called too
View the original post :
kukeltje wrote : See jira for this issue.
which jira do you mean? how can i fetch the issue i want?
thanks for help:)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134431#4134431
Reply to the post :
There is an example using springmodules and spring in the wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31AndSpring20Demo
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097717#4097717
Reply to the post :
My workflow web app is completely independant of the jbpm-console, however, I
learnt how to use most of the API's by looking at the source code of the
jbpm-console, and then using the same ideas/code in my own webapp. I would
suggest you do the same, then write your own web app however you
'known issue' (currently as designed, so no 'bug'
... the console does currently not support this...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097422#4097422
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097422
vote for http://jira.jboss.com/jira/browse/JBPM-1022
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097423#4097423
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097423
___
ok, thank you all guys.
I read that a 3.2.3 version fix this problem. is it right?
And more, anyone has an example of web-application developed with Jbpm without
the console?
thx in advanced
salvatore
View the original post :
It currently is as intended by the person who developed it. But is is a known
and discussed 'issue'. There have been some differences of opinion of the
purpose of the console. This will probably be 'fixed' in the 3.3 release.
btw. The code is open and free, so if you'd like to 'fix' it yourself
http://docs.jboss.com/jbpm/v3.2/userguide/html/taskmanagement.html#theidentitycomponent
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4088684#4088684
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088684
You can also use the jbpm-console to create users/actors, or directly enter
users into the database, or write your own app to create users in the database.
See: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted
View the original post :
dleerob wrote :
http://docs.jboss.com/jbpm/v3.2/userguide/html/taskmanagement.html#theidentitycomponent
I had already read that before asking the question (and I re-read it again
after your answer), but it there are things that aren't much clear:
a) anonymous wrote : swimlane(swimlane-name)
ok, I think I have already understood the diference with the simlane. A
swimlane is group of tasks, a group is a set of actors and a membership is a
set of actors or groups. That's ok?
Thanks,
Neuquino
View the original post :
I tried to test that out by changing my assignment expression for the swimlane
in question to be:
In other words use the sales group which comes by default with jBPM and which
I know is in there and has been tested thoroughly by the project.
However, when I get to the process node in
sorry forgot the code tags
I tried to test that out by changing my assignment expression for the swimlane
in question to be:
assignment expression=group(sales)/assignment
In other words use the sales group which comes by default with jBPM and which
I know is in there and has been tested
I'm afraid I'm not a Java programmer, I'm using the web console to run my
process rather than code: I wouldn't know where to start on creating a unit
test. Nevertheless, I did manage to trap the relevant error log when I click
the Save and close button in the console for the process node that's
There is no real debug info in the expressionassignmenthandler. Most likely the
group/role is not there or not correctly configured
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082783#4082783
Reply to the post :
I see no reason why this should not work. Can you make a unittest that
demonstrates the problem?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082334#4082334
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082334
starttasks cannot be assigned via a swimlane they are always assigned to
the actor who starts the task and this actor is put in the swimlane related to
the task.
This is by design. If you think it should be different, look in the jira if
there is already an issue for this and vote for it.
A possible way is to define the first node in the process with the initial
command. Then you don't have to use a start-state. I think it should fits yor
needs.
process-definition name=ProcessName initial=NodeName
|
I never tried this solution, so correct me if i am wrong.
View the original
This unit test shows the use of initial.
ProcessDefinition processDefinition =
ProcessDefinition.parseXmlString(
| process-definition +
| xmlns='' name='test'
initial='task1' +
|
thanks, i'll try that
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074499#4074499
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074499
___
jboss-user mailing list
I found a workaround for this problem. It seems that there is a bug here. If
you have a task in the start-state and try to assign it via a swimlane, it will
create a swimlane instance that always maps to manager. For example, if the
swimlane name is shipper and the actor_id is shipper in the
Correct, that is the behaviour as it is currently implemented. This has already
been discussed in the forum and there even is a feature request in Jira to make
this configurable. Vote for it if you want it implemented.
Since I in a good mood, I looked it up for you
Hi, nort!
it seems there is some problem with your JBPM Context. Seems like it is closed
upon entering your task node Urlaubsantrag entscheiden. And this is the
reason for not resolving the assignment expression. Since you are entering the
task node it means that the process has already left
hi,
Please post the process definition, for us to be able to help you better.
If I am getting the problem right, then the task instances are hanging on after
the node has executed.
I think the problem is that the task instances are not ending. We need to
explicitly set end-tasks to true for
hello,
my process definition:
processDefinition = ProcessDefinition.parseXmlString(
|
|
| process-definition
name='DeclarationSinistre'+
| swimlane name='FONCIA' +
|
Hi,
I looked at your process definition, it appears that it needs some sorting to
be done on itself.
currently, ControlePrime node has 3 outgoing nodes from it, which do not make
much sense if you are only using signal().
Can you please explain in steps as to what you want to achieve,
In this node, it is like a decision node.
But at this time I want just execute my process with the task assign for each
person.
But when I execute my process and do signal() in order to execute and pass to
the next task, the task wich must be already execute are in the current task
:s. I just
I have tried you had your line nothing change. :s.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970725#3970725
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970725
___
okay..
Digging a little deeper and i found that all task instances will show up, that
were created for this process definition. If you see taskInstance.hasEnded()
for each task instance, then the one that was ended by end-tasks='true' will
show as false.
Try using
sorry . the ones that were ended with end-tasks='true' will return true for
hasEnded method.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970732#3970732
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970732
ok this is the solution I saw the tasks which are finished and not the new
task.
thank you very much
Now I will work on the assigment of each task but the tasks seems to ignored
the assigment by swimlane.
View the original post :
I execute my process normally but the porblem is when I put a actorId wrong the
swimlane task is ignored and my task continu to be executed.
So for the swimlane where I must put my current actor Id in order to execute my
task only by the poeple who are assign and not all people.
I have tried
Yeah I was confused greatly on the CVS at first, having not really used it much.
The information should all be here:
http://www.jboss.com/products/jbpm/downloads
and
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmContributions
And you need to get the module jbpm.3
James
View the original post
Basically it just doesnt work, and probably wont be fixed, because they are
working on a new version for the 3.2 CVS head.
It IS fixed in the newer version, and groups show up fine, though it appears
that pooled users dont. We are looking at that now.
So if you can get the CVS head working,
I am trying to get 3.2 CVS head, but I can only get 3.1-beta2. I am using
anonymous CVS from here: http://sourceforge.net/cvs/?group_id=70542
and selecting jbpm.3 module.
FYI, the anonymous CVS info is wrong here:
http://labs.jboss.com/portal/jbossjbpm/download/index.html
Host should be
known issue, is in the Jira, forum etc...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3968618#3968618
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968618
___
jboss-user
Known issue means, jbpm do not have any support for assigning a task to a group
itself? Is it possible to extend it by any chance? Any pointers?
Thanks,
-Anil
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3968623#3968623
Reply to the post :
Hi all I resolve my problem..
I have to put all the swimlane of my process definition in my java file. I
execute my code but when I execute this line I have a problem:
graphSession.saveProcessInstance(pi);
the console error is:
08:59:49,734 ERROR
I can find the error:
Nested Exception is java.lang.UnsupportedOperationException: use
JbpmContext.save(ProcessInstance) i
nstead
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3966957#3966957
Reply to the post :
yes, I know, me too. I know just that is this line anonymous wrote :
graphSession.saveProcessInstance(pi); which give me this error. If i erase it
it works well.
perhaps it's why in my next jsp I can have the context, because the save
context doesn't work. :$
I don't know.
thank you for your
Hi,
With some system.out() I have identify the line where I have my problem:
| SwimlaneInstance swi =
pi.getTaskMgmtInstance().getInitializedSwimlaneInstance(new
ExecutionContext(pi.getRootToken()), swimlane);
So I tested each element of the varaible that I put in:
-
to much debug, to little info. Make a minimal unittest that demosntrates the
problem. THEN we can see if we can help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3966449#3966449
Reply to the post :
I think the warning about the swimlane is normal.
Starting a process instance is different if there is a task in the start
node. I do not know exactly why.
I think you need something like this to start the processInstance:
|
| if
afaik it should be called INITIATOR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3961990#3961990
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3961990
___
jboss-user mailing list
69 matches
Mail list logo