[jBPM] - Re: Integration of jbpm5.4 with LDAP
by Maciej Swiderski
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: Integration of jbpm5.4 with LDAP"
To view the discussion, visit: https://community.jboss.org/message/807336#807336
--------------------------------------------------------------
Looks like this is the root problem why task is not created:
10:26:51,222 ERROR [stderr] (Thread-70) java.lang.NullPointerException
10:26:51,223 ERROR [stderr] (Thread-70) at org.jbpm.task.identity.LDAPUserGroupCallbackImpl.existsUser(LDAPUserGroupCallbackImpl.java:134)
10:26:51,224 ERROR [stderr] (Thread-70) at org.jbpm.task.service.TaskServiceSession.doCallbackUserOperation(TaskServiceSession.java:1225)
10:26:51,225 ERROR [stderr] (Thread-70) at org.jbpm.task.service.TaskServiceSession.getTasksOwned(TaskServiceSession.java:763)
10:26:51,225 ERROR [stderr] (Thread-70) at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:309)
10:26:51,226 ERROR [stderr] (Thread-70) at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
10:26:51,226 ERROR [stderr] (Thread-70) at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
10:26:51,227 ERROR [stderr] (Thread-70) at java.lang.Thread.run(Unknown Source)
I believe LDAP query does not return expected results, please make sure the filter you defined for it in the config file is valid and returns results as expected.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807336#807336]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - JBPM workIteamHandler registration
by sagar dhumal
sagar dhumal [https://community.jboss.org/people/dsagar1234] created the discussion
"JBPM workIteamHandler registration"
To view the discussion, visit: https://community.jboss.org/message/807158#807158
--------------------------------------------------------------
Hello All,
I had created domain specific service mentioned on one of JBPM article.When I run this as standalone java programme it works fine.I wanted to resister it with jbpm console,so changed the *default.session.properties as below*
new SessionTemplate().{
businessKey = "jbpm/consolesession",
imported = false,
persistenceUnit = "org.jbpm.persistence.jpa",
properties = ["drools.processInstanceManagerFactory":"org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory",
"drools.processSignalManagerFactory" : "org.jbpm.persistence.processinstance.JPASignalManagerFactory"
],
workItemHandlers = ["Human Task" : "new org.jbpm.process.workitem.wsht.AsyncHornetQHTWorkItemHandler(\"jbpmConsoleHTHandler\", taskClient, ksession, org.jbpm.task.utils.OnErrorAction.LOG)",
"Service Task" : "new org.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession)",*"Notification" : "new org.jbpm.process.workitem.bpmn2.NotificationWorkItemHandler()"*],
eventListeners = ["new org.jbpm.process.audit.JPAWorkingMemoryDbLogger(ksession)",
"new org.jbpm.integration.console.listeners.TriggerRulesEventListener(ksession)" ]
};
But I am getting exception as *org.drools.WorkItemHandlerNotFoundException: Could not find work item handler for Notification.*
*it looks like it doesnt get *NotificationWorkItemHandler class,so i tried to put in it server lib,i tried to deploy it as jar and finally i put it in package where other workitemHandler were.,but doesnt seem to be working.**
**Any ideas......**
Doesit it because GWT CONSOLE SERVER is trying to restore session from database and i had not register workitemHandler at that time.
If yes then how to register workIteam handler,because then it will be difficult to register new workItemHandler later once we create session.
**
**
*
*
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807158#807158]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM] - How to retrieve userid from within BPMN?
by Apol Chakrab
Apol Chakrab [https://community.jboss.org/people/lchakrab] created the discussion
"How to retrieve userid from within BPMN?"
To view the discussion, visit: https://community.jboss.org/message/806521#806521
--------------------------------------------------------------
I have used the following to retrieve the process id, unique id, node id, and node name from on-exit action of a human task node in a the BPMN workflow:
kcontext.getProcessInstance().getId()
kcontext.getNodeInstance().getNode().getMetaData("UniqueId")
kcontext.getNodeInstance().getNode().getId()
kcontext.getNodeInstance().getNode().getName()
Now I need to retrieve the userid who is the "assignee" of a human task node in the on-exit action of the node. The task is assigned to a group and I need to know which user is actually claiming and submitting the task.
In the "Messages" panel in the jBPM console, I can see the "assignee" who claims and submits the task, I don't know how to grab that value from within the BPMN process.
Please help.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806521#806521]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years