[jBPM] - Question about how to add user to assign and execute human task
by Jimmy dong
Jimmy dong [https://community.jboss.org/people/jimmy.dongjia] created the discussion
"Question about how to add user to assign and execute human task"
To view the discussion, visit: https://community.jboss.org/message/717004#717004
--------------------------------------------------------------
Dear all:
I created a jbpm project only include .bpmn file and .ftl file, I start and execute process by jbpm console. At first, a user task node 's +ActorId+ I fill in "john",
and I can use john login console and see personal task. But when I fill in the user task node 's +ActorId as "jimmy" or other name which I set in+
+/jbpm-installer/jboss-5.1.0.GA/server/default/conf/users.properties, I only can login the console ,and start a process,but can't be assigned a personal task.+
+My question is : why only set+ user task node 's +ActorId as "krisv","john",or "mary" can be assigned task, if set+ user task node 's +ActorId as other names in "users.properties",+
+only can login console,but can't assign personal task?+
the content of file users.properties:
admin=admin
krisv=krisv
john=john
mary=mary
jimmy=jimmy
hawis=hawis
marvin=marvin
william=william
daniel=daniel
kim=kim
jason=jason
yuri=yuri
devin=devin
sales-rep=sales-rep
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717004#717004]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 11 months
[jBPM] - jBPM REST API for custom client application
by Justin Robbins
Justin Robbins [https://community.jboss.org/people/jhrobbin] created the discussion
"jBPM REST API for custom client application"
To view the discussion, visit: https://community.jboss.org/message/734916#734916
--------------------------------------------------------------
Hi folks,
I'd appreciate some suggestions on the topic of exposing jBPM REST API to a custom client application.
Cliff Notes:
Bulding a custom smartphone app (not just using BPM Console client). Better to re-use the REST API already exposed by the Console-Server or roll our own REST API for jBPM? (See details below for better explanation)
Details:
Let's say we want to build a smartphone app that provides a small subset of what the BPM Console browser app does along with some other functionality specific to our own application. To be clear, the smartphone app doesn't just interact with jBPM. If that were the case, then I assume it would be a no-brainer to have the smartphone app directly hit the Console-Server.
I'm thinking the smartphone app makes REST calls to our own server API. From there, one option would be for our server API to make REST API calls to the Console-Server (also running in our server environment) for jBPM related things like get a list of tasks, claim a task, etc.
Would that be preferrable to rolling our own? Or would it be better to skip using the Console-Server and have our API server side code use the jBPM Java API instead. I'm assuming I can do things like get a list of tasks for a user, claim a test, etc using the jBPM Java API (I haven't dug deep into the capabilities of the jBPM Java API). I have seen the list of available URIs prvided by the Console-Server so I think I have a handle on what the Console-Server API exposes.
Many thanks for your input.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/734916#734916]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 11 months
[jBPM] - Installing jbpm 5.3 with guvnor 5.4 issue under jboss 5.1
by Miloud Haimoune
Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion
"Installing jbpm 5.3 with guvnor 5.4 issue under jboss 5.1"
To view the discussion, visit: https://community.jboss.org/message/739346#739346
--------------------------------------------------------------
Hi all,
I 'm migrating to jbpm 5.3 witch uses guvnor 5.4
I tried to use jbpm installer and I got the following error :
Caused by: java.lang.ClassNotFoundException: javax.validation.MessageInterpolator$Context
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
I downloaded the jar and added validation-api-1.0.0.GA.jar I got this exception :
javax.inject.DefinitionException: Can't determine type of element <modifies> in bean 'GuvnorBootstrapConfiguration'
at org.jboss.webbeans.xml.checker.beanchildren.ext.AbstractBeanChildrenChecker.checkBeanChild(AbstractBeanChildrenChecker.java:134)
at org.jboss.webbeans.xml.checker.beanchildren.ext.AbstractBeanChildrenChecker.checkChildren(AbstractBeanChildrenChecker.java:89)
......
java.lang.RuntimeException: mapped-name is required for BeanManager of deployment guvnor-5.4.0.Final-jboss-eap-5.1.war
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceEnvRefs(WebResourceHandler.java:287)
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:325)
at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:550)
at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
did anyone had this issue or if you have a solution ?
(I don't want to use tomcat server since my application is running under Jboss 5.1)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/739346#739346]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years