> > Exactly: if you take a look at [1] (towards the end), you'll see that the > log messages above mean that no executable NotificationTask was found. > > NotificationTask objects are created by NotificationManager.createTasks() > which is in turn invoked by UserController[2]'s methods and SyncJob [3], > i.e. evey time users get created / updated / modified / deleted in Syncope.
I looked into the code and now I did another test. I've found that the notification works if I attach a notification to "createApproval". That's because the create method looks for that on calling the NotificationManager. What I wanted is use the notification system to send out an email when the generateToken state is passed. In the workflow I see the state "created" just after and the user is in that state. If I understand you correctly I need to call the NotificationManager myself to create a task which will then be picked up or should the workflow create the tasks on each transition? regards Bob
