Try this
|
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss
You can do it with manual HQL query
| select TaskInstance
| from org.jbpm.taskmgmt.exe.TaskInstance as TaskInstance
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182586#4182586
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
Here i tried to explain how we can use gravel for the file uploading in task
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168990#4168990
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180620#4180620
Reply to the post :
http://www.jboss.com/index.
You can use portlet context to retrieve portal user login and then use it for
task retrieval
| facesContext.getExternalContext().getRemoteUser()
|
or
| portletRequest.getRemoteUser()
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178357#4178357
You should write you own portlet webapp or try to run jbpm-console as a portlet
via some existing jsf portlet bridge.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178262#4178262
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
jbpmContext.getGraphSession().deleteProcessInstance(processInstance);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169484#4169484
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169484
_
I propposed you better solution. Because you can simply add comments to the
task or dirrectly to the process and then know for which task the comment was
done.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169482#4169482
Reply to the post :
http://www.jbos
Oh, i am sorry, you didn't write anything about jbpm-console. But all other
recommendations are still actual. You need to find all process instance tokens
with the method findAllTokens(). Then iterate through tokens and get their
comments with the method token.getComments() and add all comments
Comment is not gone when the task is finished. It is just the jbpm-console
problem which displays only process root token comments or task comments but
doesn't display all comments at the same time.
To display all comments you should to iterate through process tokens and
display comments for all
Surely it is not the JBPM console problem. It is your local system problem,
perhaps you have a virus.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169100#4169100
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169100
You can define it using JSF component h:selectOneMenu.
http://www.exadel.com/tutorial/jsf/jsftags-guide.html
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169046#4169046
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41
You shouldn't put action command to the tf:saveButton directly because all jbpm
form actions described directly in the j4j:taskForm tag in the JBPM console
application.
To upload files in the task variable map you should to have own tag and use it
inside standard action components commandButton
1. Not sure, but you can use jbpm-enterprise component to avoid synchronization
issues if there are any
2. Jackrabbit is supported by the jbpm. Look on the jbpm documentation and cvs
repository for examples.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41346
Here is used custom navigation handler of gravel component
org.jboss.gravel.navigation.GravelNavigationHandler. That's why you don't see
navigation rules. Every navigarion rule now present dirrectly in xhtml file.
And tags you haven't seen before are also from gravel.
View the original post :
It is present in jbpm-jpdl package in db folder. It's called
jbpm.jpdl.mssql.sql.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114545#4114545
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114545
___
Try this
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112589#4112589
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112589
___
jboss-user mailing list
jboss-user
Not sure, but maybe it can be optimized with some custom HQL query.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108451#4108451
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108451
___
| GraphSession graphSession=jbpmContext.getGraphSession();
| ProcessDefinition processDefinition=graphSession.getProcessDefinition(id);
| graphSession.deleteProcessDefinition(processDefinition);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108302#
You should save created instance manually. Try
| ProcessInstance instance=processDefinition.createProcessInstance();
| jbpmContext.save(instance);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107944#4107944
Reply to the post :
http://www.jboss.com
Do you use IE for uploading? If yes gravel had a problems with IE and it was
fixed in new version. Check this:
http://jira.jboss.com/jira/browse/GRAVEL-22
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107942#4107942
Reply to the post :
http://www.jboss.com/
You should use different war names to avoid conflicts.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106770#4106770
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106770
___
It's easy, simply edit hibernate.cfg.xml file for another datasources which you
have.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106444#4106444
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106444
I don't know anything about technologies which you are using, but i think that
you should find jbpm4jsf.jar in your web application or application server and
update it to newer version which you downloaded from repository.
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
FabianW: You can use Eclipse, just create new project, add jbpm4jsf.jar and jsf
libs to classpath.
About UnsupportedClassVersionError possibly you have duplicates of some classes
in classpath.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105556#4105556
Rep
UnsupportedClassVersionError it is a jre related problem. How i know for the
jbpm web application you need to use at least java 1.5.
About first question, this patch patches
org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton java file, you can get
latest version from
http://fisheye.jboss.com/b
FabianW: Is it that you talked about?
http://jira.jboss.com/jira/browse/JBPM-1017
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105454#4105454
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105454
_
Actor is a simple string, you can interpret it as you like
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101523#4101523
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101523
This text is present in jboss installation of the jbpm-console in
login-config.xml. Maybe this will help You.
|
|
|
|java:/JbpmDS
|
| SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=?
|
|
|
Error occurs somethere in the connection layer, maybe your mysql service is
stopped or incorrectly configured. Seems that it is not a jbpm problem
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100273#4100273
Reply to the post :
http://www.jboss.com/index.ht
I don't know how to configure datasources in tomcat, but you can specify db
connection parameters dirrectly in hibernate.cfg.xml. Find strings
hibernate.connection.driver_class,hibernate.connection.url and so forth...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtop
Your problem is in hibernate configuration
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099904#4099904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099904
___
jboss-user m
I think you should remove required attribute from your form input fields or try
to bind it with some action. Somewhere in the web i saw that required attribute
of input tag was binded with bean action which checked a pressed button/command
link and returns true or false depend on situation.
Her
Update task.xhtml file in jbpm-console.war/sa and change enctype of h:form in
the 'form' view. After that use gravel file upload components for your needs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094985#4094985
Reply to the post :
http://www.jboss.com
Platform: Java 1.5 + Eclipse Europa + Jboss Tools 2.0 beta3
Locale: ru
I am trying to package war file in the "Project archive" view and getting no
results. Workspace log file gives me next exception information:
| !ENTRY org.eclipse.ui 4 0 2007-09-25 12:59:26.265
| !MESSAGE Unhandled event l
It will give you next assigned and open task(s). Use this code after ending of
taskInstance.
You can download jbpm 3.1.* and see how it is used in jbpm web application.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077626#4077626
Reply to the post :
http://
You can try to use jbpm logs. But i don't know which results will you get in
case of the next node is the join node. Here how it is used in TaskBean.java of
jbpm-3.1.3
| LoggingInstance loggingInstance = processInstance.getLoggingInstance();
| List assignmentLogs = loggingInstance.ge
It should be packed with process definition archive and lie in archive /classes
folder. Actually if class is in the same project as designed model deployment
tab of process designer should put necessary class automatically.
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
I am using jboss and all errors are listed in console output. Don't have any
idea there is it in your environment...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074713#4074713
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
Give us a stacktrace
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074660#4074660
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074660
___
jboss-user mailing list
jboss-user
rossputin Just write custom assignmentHandler, example you can find in jbpm
sources.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074398#4074398
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074398
_
And i think you can't delete directly TaskInstance row, because task instance
has relationships with other objects (see TaskInstance.hbm.xml)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071830#4071830
Reply to the post :
http://www.jboss.com/index.html?mo
Why do you use sql not hql? See how it is done in jbpm sources.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071676#4071676
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071676
___
Mark variable as required, but not sure whether the default web application
checks variable accesses.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071490#4071490
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071490
It is not so hard to implement. You should know what task is first in process
definition, or use startTask from TaskMgmtDefinition if you have it, i mean
startTask. Then you should search all taskInstances for task with id equal to
startTask id and actor equal to user. As a result you should man
If you afraid about time of performance you can write your own hql query and
retrieve only tasks with name equals to taskName for current process instance.
But i think performance will be enough for not very large databases.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
I think that the most quick and efficient way is to use hql queries
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071181#4071181
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071181
___
1 related: You can specify variable in model which will contain name of task
from where to get an actor id in your assignment handler.
|
| myTask
|
|
Then in assign method you should process all previous task instances with name
equals to taskName variable value.
| executionC
I am not sure about your problem, but in my models i use assignment handlers
without this dirrective "config-type=constructor", like it is done in examples.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071034#4071034
Reply to the post :
http://www.jboss.co
Don't exactly understand where was a problem, but you're welcome!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070001#4070001
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070001
_
I don't know, maybe it is an oracle problem. Try to search forum i saw some
topics where users describe theirs problems with oracle environment.
My proposition is to start from simple code open and close context. Then add
ProcessInstance creation, then add other parts of code... Also you can try
Try to debug this piece of code starting with some simple action gradually
adding all other lines to see which code is broke your application. But it
looks very strange, that after any write operation you get jbpmContext
autoclose. Maybe something is wrong in hibernate or jbpm configuration? Do
You should close context after save operation
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069578#4069578
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069578
___
jboss-use
Try to save process instance after creation and before the task ending
| TaskInstance ti = pi.getTaskMgmtInstance().createStartTaskInstance();
| jbpmContext.save(pi);
|
If it will not help, try to close jbpmContext after creation of start task
instance and create new one (jbpmContext). Th
Remove all manual actions with transactions and sessions
Session hsession = jbpmContext.getSessionFactory().openSession();
| Transaction transaction = hsession.beginTransaction();
transaction.rollback();
hsession.close();
If you need to save some hibernate object use session from
I think you get this exception, because you do so
transaction.commit();
If you got this transaction from jbpmContext session you've done wrong. If you
need rollback transaction just use jbpmContext.setRollbackOnly() method and
transaction will be rolled back on close() method.
View the original
taskInstance.isSuspended();
taskInstance.isOpen();
an other is... methods
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067702#4067702
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067702
See on VariableInstance.hbm.xml it doesn't have a value property.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063927#4063927
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063927
_
How i know start-state currently doesn't support a swimlanes
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062279#4062279
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062279
__
You can use NewProcessInstanceCommand with createStartTask as true, if returned
value will be null then you will know, that process doesn't contain a start
task. Then you can use SignalCommand or some other one to move process from
start state to first task node.
View the original post :
http:
Seems that start-state doesn't have a node-enter event.
For ricardomarques: maybe you should use StartProcessInstanceCommand instead
NewProcessInstanceCommand with cmd.setCreateStartTask(false);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062260#4062260
R
Maybe you should signal to the process instance after creation to move from
start state to first task node? Or try to add some actions to start-state, for
example on node enter and perform signaling in it. But it is only in theory, i
didn't use models without a task in start state.
View the ori
You should write your own query, for example:
Query query = session.createQuery(
"select g " +
"from org.jbpm.identity.Group as g"
);
List groups=query.list();
View the original post :
http://www.jboss.com/index.html?
an perform environment.save(pi)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059548#4059548
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059548
___
jboss-user mailing list
Maybe you should try another costruction
try
ProcessInstance pi = pd.createProcessInstance();
instead
ProcessInstance pi = new ProcessInstance(pd);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059547#4059547
Reply to the post :
http://www.jboss.com/index
jbpm-starters-kit-3.1.3 has sources of the web application, and uploading
servlet works fine with created by plugin archives. Here is a snip of a code:
|ZipInputStream zipInputStream = new
ZipInputStream(fileItem.getInputStream());
|JbpmContext jbpmContext =
Use eclipse plugin to create process archive. (Deployment tab->Save Process
Archive Locally)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048204#4048204
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048204
_
Seems that i've found a reason, even if it was not so easy. I used different
name and mapped name values for variables, so the default task controller after
a task ending restored values of variables in context from taskInstance but as
names of source variable it got mappedName.
instead
String
You should write assignment handler for a task node. Try to use some variable
in contextInstance to store name of necessary actorId for handled task.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039684#4039684
Reply to the post :
http://www.jboss.com/index
Try to process an exception in your application while you are ending
taskInstance. With session transaction mechanism you able to rollback it if
ending of task fails. But i don't know how to correctly close JbpmContext after
rollback, because default close method begin to throw exceptions after
It doesn't help.
If i add
jbpmContext.save(taskInstance);
before "marker 1" i get same result. Or should i save a context in another way?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038462#4038462
Reply to the post :
http://www.jboss.com/index.html?mod
Upd.: I use jbpm from jbpm-starters-kit-3.1.3
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038230#4038230
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038230
___
jboss-use
Sorry for my ugly english at first.
I can't decide my problem for a few days. I am working on web application
similiar to native jbpm demo app.
I am using this code to load taskInstance and save variables (little
simplified):
| JbpmContext jbpmContext=null;
| try
| {
|
72 matches
Mail list logo