[jBPM] - Task deadline issue
by tom sebastian
tom sebastian [https://community.jboss.org/people/tomsebastian] created the discussion
"Task deadline issue"
To view the discussion, visit: https://community.jboss.org/message/796985#796985
--------------------------------------------------------------
Hi all
,
I am using jbpm 5.2 and jbpm humantask implementation 5.2. We currently upgrade the designer.war to configure reassignment, notification through UI. We could successfully ser task deadlines. Reassigments and notifications are working at correct time with unexpected behaviour. For eg: suppose I configured "not-started" reassignment and notification with expiration time 2 min. Then even if I started the task(set status to inProgress) deadline triggers and reassignments, notifications happen.
Is it the default feature/implementations ?
I want to know whether we need to check this(is task started/ completed) befor reassigning/ sending notifications by writing our own EscalatedDeadline handler?
Please help
Thanks & regards
Tom
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796985#796985]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months
[jBPM] - UserManagement in jBPM 5.3.0
by stundzig
stundzig [https://community.jboss.org/people/stundzig] created the discussion
"UserManagement in jBPM 5.3.0"
To view the discussion, visit: https://community.jboss.org/message/797313#797313
--------------------------------------------------------------
Hi folks,
i've installed the BRMS 5.3.0 on EAP 6. But since its based on jBPM 5.3.0 i hope I can get some help here. The Redhat support form doesnt accept my message. :(
My simple question is: What is the correct way to configure user management for the REST API and the UserGroupCallBack?
I've setup the brms-roles/users.properties in jboss-as/server/default/conf and also the login-config.xml. Now I can login to the REST API and also to the business-central-server Web application.
But if i use for e.g. the user management REST API with:
http://localhost:8080/business-central-server/rs/identity/user/somebody/g... http://localhost:8080/business-central-server/rs/identity/user/somebody/g...
I got always returned 'admins' as group. The username is ignored. I've tracked down this to the org.jbpm.integration.console.UserManagement class with the following implementation:
public List<String> getGroupsForActor(String actorId) {
// TODO: fixme
List<String> result = new ArrayList<String>();
result.add("admins");
return result;
}
How could I configure a UserManagement, which uses for e.g. the brms login-config? I couldn't find something in the BRMS Administration Guide, Getting Started Guided and in the jbpm forum.
And the same is for the userGroupCallBack in the jbpm-human-task.war. I would like do have an implementation which is based on the jaas config. Does anybody have some code, samples, docs about it?
Thanks in advance.
Regards
Steffen....
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797313#797313]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months
[jBPM] - Error in Jbpm 5.2 split decision OR node
by manivannan kathirvel
manivannan kathirvel [https://community.jboss.org/people/manimportal] created the discussion
"Error in Jbpm 5.2 split decision OR node"
To view the discussion, visit: https://community.jboss.org/message/797121#797121
--------------------------------------------------------------
Dear Friends,
I'm using jbpm 5.2 and drools engine 5.3.1 and Jboss server 5.1 in my project.
While I try to add the additional or split path to the existing OR node in one of the Employee process , Getting the following error during the execution :
java.lang.NoSuchMethodError: Process_EmpProcess.returnValueEvaluator5(Lorg/drools/spi/ProcessContext;)Ljava/lang/Object;
EmpProcessReturnValueEvaluator0Invoker.evaluate(Emp_Process.ReturnValueEvaluator0Invoker.java:14)
at org.drools.workflow.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:121)
at org.drools.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:62)
at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:141)
at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:128)
at org.drools.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
at org.drools.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
at org.drools.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:16)
at org.drools.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:185)
at org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:230)
at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1639)
I'm able to compile the process and there is validation errors as well.
I tried to recomplie and build package using Drools Admin Console , Still getting the same issue during execution.
Stucked with this issue for 2 days.
Any Help on this will be Much Appreciated !
Thanks in Advance !
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797121#797121]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months
[jBPM] - Error in Jbpm 5.2 process split node .
by manivannan kathirvel
manivannan kathirvel [https://community.jboss.org/people/manimportal] created the discussion
"Error in Jbpm 5.2 process split node ."
To view the discussion, visit: https://community.jboss.org/message/797175#797175
--------------------------------------------------------------
Dear Friends,
I'm using jbpm 5.2 and drools engine 5.3.1 and Jboss server 5.1 in JSF web application.
While I try to add the additional or split path to the existing OR decision node in Emp process , Getting the following error during the execution :
java.lang.NoSuchMethodError: Process_EmpProcess.returnValueEvaluator5(Lorg/drools/spi/ProcessContext;)Ljava/lang/Object;
EmpProcessReturnValueEvaluator0Invoker.evaluate(Emp_Process.ReturnValueEvaluator0Invoker.java:14)
at org.drools.workflow.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:121)
at org.drools.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:62)
at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:141)
at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:128)
at org.drools.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
at org.drools.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:111)
at org.drools.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:16)
at org.drools.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:185)
at org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:230)
at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1639)
Process compilation is fine and there is no validation error
I tried to recomplie and re build package using Drools Admin Console and package build was succesfully ,
Still getting the same issue during execution.
Stucked with this issue and not able to proceed further.
Any Help on this will be Much Appreciated !
Thanks in Advance !
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/797175#797175]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 2 months