On 21/05/2012 12:24, Bob Lannoy wrote:
Bob,
as I can see from UserController's source code, some methods call
NotificationManager.createTasks() and some methods don't: in you case, which
is the UserController method invoked when users move from "createApproval"
to "active"?
Well I'm using the default workflow with the GenerateToken stuff
that's in there. I'm not sure any UsereController method is called
when a user-object is passing through the workflow since this is
handled by the workflow asynchronously.
That's why I though that maybe a call to NotificationManager might be
necessary on every workflow transition.

Bob,
I've been playing a bit with the predefined worfklow definition [1] and I've noticed that the commented part (i.e. the one involving token generation) was a bit out of date and led to inconsistent situations where users fell, for example, in two different states at the same time.

Anyway, I was able to get notifications for "active" state: could you please post your workflow definition? Maybe the source of your troubles is just there,

Regards.

[1] https://svn.apache.org/repos/asf/incubator/syncope/trunk/core/src/main/resources/userWorkflow.bpmn20.xml

--
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/

Reply via email to