I'm sorry I wasn't clear enough. I'm new to this and couldn't describe it as
well as I would have liked to. I solved it though. I'm using 3.x so I couldn't
use identity service so I just did this:
| private String getUserEmail(String userid) {
| JbpmConfiguration jbpmConfiguration =
JbpmConfiguration.getInstance();
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| Session hbSession = jbpmContext.getSession();
| Query query = hbSession.createSQLQuery("SELECT EMAIL_ FROM
JBPM_ID_USER WHERE NAME_='" + userid + "'");
| String emailAddress = (String) query.list().get(0);
| jbpmContext.close();
| return emailAddress;
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263383#4263383
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263383
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user