[JBoss jBPM] - JBPM Assignment Handler 3.3.1.GA Problems
by bradsdavis
JBPM 3.3.1 does not seem to pass execution to the configured assignment handler delegate. Can someone please validate my configuration below?
In the database, I see that the column ASSIGNMENTDELEGATION_ does have an entry, but in my logs, I get:
| 2009-02-20 12:55:35,703 DEBUG [org.jbpm.graph.def.GraphElement] event 'task-create' on 'Task(do-something)' for 'Token(/)'
| 2009-02-20 12:55:35,984 DEBUG [org.jbpm.identity.assignment.ExpressionAssignmentHandler] resolving first term 'user(jie)'
| 2009-02-20 12:55:35,984 WARN [org.hibernate.hql.QuerySplitter] no persistent classes found for query class: select u from org.jbpm.identity.User as u where u.name = :userName
|
Here is the task assignment handler configuration:
| <task-node name="task-node1">
| <task name="do-something">
| <assignment class="org.jbpm.identity.ldap.LdapAssignmentHandler" expression="user(jie)"></assignment>
| </task>
| <transition to="end-state1"></transition>
| </task-node>
|
Additionally, I have a log statement in my LdapAssignmentHandler, which never is displayed in my logs, indicating it is not called.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211919#4211919
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211919
15 years, 9 months
[JBoss jBPM] - Timer on task not being deleted when task instance ends
by dleerob
Hi,
When adding a timer to a task in Jbpm 3.2.3, all was well. Code below:
<task-node name="Initial Details">
| <task name="Initial Details" swimlane="Initiator">
| <controller>
| <variable name="IsReplacement" access="read,write,required"></variable>
| <variable name="EmployeeReplaced" access="read,write"></variable>
| <variable name="EmployeeReplacedSelection" access="read,write"></variable>
| <variable name="EmployeeReplacedOther" access="read,write"></variable>
| <variable name="JobTitle" access="read,write,required"></variable>
| </controller>
| <timer duedate="0 seconds" repeat="24 Hours" name="Initial Details Reminder">
| <action class="workflow.jbpm.TaskReminder" />
| </timer>
| </task>
| <transition to="Responsible Director Approval 1"></transition>
| </task-node>
Now, with the latest Jbpm 3.2.6 SNAPSHOT, the timer does not seem to be deleted when the task ends. Only 24 hours later, when the timer is due again, it will try and run the timer once more, then delete it. So we have the timer running an extra time, when perhaps it should not be run again?
I also think this change in behaviour may be the result of a bug fix/jira issue which was resolved: https://jira.jboss.org/jira/browse/JBPM-2036
Should timers behave like this?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211825#4211825
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211825
15 years, 9 months