I am using this Inbox component. This needs a user object. So I have done
User usr = AppBeans.get(UserSessionSource.class).getUserSession().getUser();
and provided this as input to
messageService.sendMessage(usr,"test","New Object created ", newTestEnitity);
This will send a mail to current user. But if I need to send it to a list of users, I can maintain the list some where, how do we initialize the user object. Means, I have just a name like Thomas and I need to initialize a user object with this string.
Also can we use this to send mails when a workflow activity is assigned? I know there is a process task, but such a mail would help users.
Also, is there a way, to upgrade this component from 6.9 to current 7? I have currently created a 6.9 project.
Unrelated question, as I do not want to create a new thread. In BPM example shown, we see that manager and controller is assigned in run time. Can we have a template stored, which we can bind to the workflow. It will make it dynamic.