Feature request!
by Vinay Vijay
Hi,
I have started using jbpm within our company. I feel 'Process instance migration tool' is a feature that must be prioritized as this is a very regular requirement in production scenario. It would be great if you can let us know the roadmap for this feature.
Regards,
Vinay
10 years, 5 months
jbpm5.4 exception
by 张书瑞
Hi ,every one
The attachment is bmpn files.It is an ask for leave example.The currentUser parameter is current login user;employee1,employee2,employee3 is potential task owner,it is usually Leader-Member relationship(maybe employee1 is currentUser's manager,user myself organization structure from database to judge);the hasManager parameter represent whether some people has manager(boolean);the result parameter is every task owner's opinion(boolean,reject or agree) ,if reject,the work flow will get back to original user;the comment parameter is some suggestion.before task owner sign,user could view previous task comment and owner user.At present, this process will throw exception like below when employee1 agree or reject.Maybe the constrains of diverge gateway(id 12) is wrong.can you help me?
thank you very much!!!
the exception like that:
Exception in thread "Thread-16" com.thoughtworks.xstream.io.StreamException: Cannot create XmlPullParser
at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:56)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:912)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:903)
at org.drools.process.core.datatype.impl.type.ObjectDataType.readValue(ObjectDataType.java:77)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:223)
at org.jbpm.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:90)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:309)
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:285)
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:342)
at org.drools.process.instance.impl.DefaultWorkItemManager.completeWorkItem(DefaultWorkItemManager.java:116)
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler.handleCompletedTask(GenericHTWorkItemHandler.java:271)
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler$TaskCompletedHandler$1.run(GenericHTWorkItemHandler.java:239)
at java.lang.Thread.run(Thread.java:619)
10 years, 5 months
About jbpm 5.4 reject/transition
by sorrol@163.com
Hi.every one;In jbpm 4.4,if we want to realize reject function when someone signs, we can dynamically generate the transition.but in jbpm 5.4,I have no idear how to realize it. Document、forum and wiki also have no instructions.Please help me.It's very important for me.please.please
THX
10 years, 5 months
Cannot activate a task using Restful api.
by saria essid
Hello Experts,
I encounter an error when I'm trying to activate a task using Restful api
within KIE-WB.
I called http://localhost:8080/jbpm-console/rest/task/612/activate with
the command [POST].
Knowing that in Query Parameters, I have been put {key=taskId, value=612}.
The Response was:
1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2. <response>
3. <status>FAILURE</status>
4. <url>/jbpm-console/org.kie.workbench.KIEWebapp/in.83157-35840
.erraiBus?z=0000&sse=1&clientId=83157-35840</url>
5. <error>User '[UserImpl:'salaboy']' was unable to execution
operation 'Activate' on task id 612 due to a no 'current status'
match</error>
6. <stackTrace>org.jboss.resteasy.spi.UnauthorizedException: User
'[UserImpl:'salaboy']' was unable to execution operation 'Activate' on
task id 612 due to a no 'current status' match
7. at org.kie.services.remote.rest.RestProcessRequestBean
.doTaskOperationOnDeployment(RestProcessRequestBean.java:101)
8. at org.kie.services.remote.rest.RestProcessRequestBean
.doTaskOperation(RestProcessRequestBean.java:117)
9. at org.kie.services.remote.rest
.RestProcessRequestBean$Proxy$_$$_WeldClientProxy.doTaskOperation(
RestProcessRequestBean$Proxy$_$$_WeldClientProxy.java)
10. at org.kie.services.remote.rest.TaskResource.taskId_oper(
TaskResource.java:246)
11. at org.kie.services.remote.rest
.TaskResource$Proxy$_$$_WeldClientProxy.taskId_oper(
TaskResource$Proxy$_$$_WeldClientProxy.java)
12. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method
)
13. at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
14. at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
15. at java.lang.reflect.Method.invoke(Method.java:606)
16. at org.jboss.resteasy.core.MethodInjectorImpl.invoke(
MethodInjectorImpl.java:155)
17. at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(
ResourceMethod.java:257)
18. at org.jboss.resteasy.core.ResourceMethod.invoke(
ResourceMethod.java:222)
19. at org.jboss.resteasy.core.ResourceMethod.invoke(
ResourceMethod.java:211)
20. at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(
SynchronousDispatcher.java:525)
21. at org.jboss.resteasy.core.SynchronousDispatcher.invoke(
SynchronousDispatcher.java:502)
22. at org.jboss.resteasy.core.SynchronousDispatcher.invoke(
SynchronousDispatcher.java:119)
23. at org.jboss.resteasy.plugins.server.servlet
.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
24. at org.jboss.resteasy.plugins.server.servlet
.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
25. at org.jboss.resteasy.plugins.server.servlet
.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
26. at javax.servlet.http.HttpServlet.service(HttpServlet.java:
847)
27. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:329)
28. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
29. at org.jboss.weld.servlet.ConversationPropagationFilter
.doFilter(ConversationPropagationFilter.java:62)
30. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:280)
31. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
32. at org.jboss.solder.servlet.exception.CatchExceptionFilter
.doFilter(CatchExceptionFilter.java:65)
33. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:280)
34. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
35. at org.jboss.solder.servlet.event.ServletEventBridgeFilter
.doFilter(ServletEventBridgeFilter.java:74)
36. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:280)
37. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
38. at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter
(PluggableFilter.java:70)
39. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:280)
40. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
41. at org.uberfire.security.server.UberFireSecurityFilter
.doFilter(UberFireSecurityFilter.java:266)
42. at org.apache.catalina.core.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:280)
43. at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:248)
44. at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:275)
45. at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:161)
46. at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:397)
47. at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(
WebNonTxEmCloserValve.java:50)
48. at org.jboss.as.web.security.SecurityContextAssociationValve
.invoke(SecurityContextAssociationValve.java:153)
49. at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:155)
50. at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:102)
51. at org.apache.catalina.authenticator.SingleSignOn.invoke(
SingleSignOn.java:416)
52. at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
53. at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:368)
54. at org.apache.coyote.http11.Http11Processor.process(
Http11Processor.java:877)
55. at org.apache.coyote.http11
.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
56. at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
JIoEndpoint.java:930)
57. at java.lang.Thread.run(Thread.java:745)
58. Caused by: org.jbpm.services.task.exception.PermissionDeniedException
: User '[UserImpl:'salaboy']' was unable to execution operation
'Activate' on task id 612 due to a no 'current status' match
59. at org.jbpm.services.task.internals.lifecycle
.MVELLifeCycleManager.evalCommand(MVELLifeCycleManager.java:128)
60. at org.jbpm.services.task.internals.lifecycle
.MVELLifeCycleManager.taskOperation(MVELLifeCycleManager.java:322)
61. at org.jbpm.services.task.identity
.UserGroupLifeCycleManagerDecorator.taskOperation(
UserGroupLifeCycleManagerDecorator.java:46)
62. at org.jbpm.services.task.impl.TaskInstanceServiceImpl
.activate(TaskInstanceServiceImpl.java:109)
63. at org.jbpm.services.task.commands.ActivateTaskCommand
.execute(ActivateTaskCommand.java:48)
64. at org.jbpm.services.task.commands.ActivateTaskCommand
.execute(ActivateTaskCommand.java:29)
65. at org.jbpm.services.task.commands
.TaskCommandExecutorImpl$SelfExecutionCommandService.execute(
TaskCommandExecutorImpl.java:65)
66. at org.drools.core.command.impl.AbstractInterceptor
.executeNext(AbstractInterceptor.java:41)
67. at org.jbpm.services.task.persistence
.TaskTransactionInterceptor.execute(TaskTransactionInterceptor.java:53)
68. at org.jbpm.services.task.commands.TaskCommandExecutorImpl
.execute(TaskCommandExecutorImpl.java:40)
69. at org.jbpm.services.task.impl.command
.CommandBasedTaskService.execute(CommandBasedTaskService.java:128)
70. at org.kie.services.remote.rest.RestProcessRequestBean
.doTaskOperationOnDeployment(RestProcessRequestBean.java:98)
71. ... 50 more
72. </stackTrace>
73. </response>
I didn't know what I'm missing !.
Have you please some suggestions?.
Thanks in advance.
10 years, 5 months
About jbpm 5.4 reject/transition
by 张书瑞
Hi.every one;In jbpm 4.4,if we want to realize reject function when someone signs, we can dynamically generate the transition.but in jbpm 5.4,I have no idear how to realize it. Document、forum and wiki also have no instructions.Please help me.It's very important for me.please.please
10 years, 5 months
Integration of a Java Application w/ JBPM Console
by T. Ujasiri
As for running a Java program and integrating it with the console, where could I find some good examples? I'm talking about something like downloading a PDF, verifying download success, and then performing various document checks, and also verifying success at each step (or if there's failure block until a user's attention). So far I've only seen processes defined and no Java applications accompany them.
Please advise!
-TU
10 years, 5 months
Could not find work item handler for WebService
by Akila Rathnayake
hi all,
i
When I run a webservice task in kie workbench 6.0.1 I get the following
error message;
*Process Instances failed to start: [examples.ex4:627 - WS:2] -- Could not
find work item handler for WebService*
Even though I set my CustomWorkItemHandlers.conf to the required workitem
handler error still repeats.
My CustomWorkItemHandlers.conf as follows;
[
"Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler(),
"WebService": new
org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler(ksession),
"Rest": new org.jbpm.process.workitem.rest.RESTWorkItemHandler()
"Service Task" : new
org.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession),
"FileInput": new
org.jbpm.formModeler.core.fieldTypes.file.FileCustomType(),
"Service Task" : new
org.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession)
]
and also i gone through redhat bugzill in following link,
https://bugzilla.redhat.com/show_bug.cgi?id=1035259
also i did same thing that Kris Verlaenen said in comment 5
guys have you any idea about this error...
regards
Akila
10 years, 5 months