Fórum

Get current UserId of liferay in JBPM

2Reza Sadeghzadeh, modificado 12 Anos atrás.

Get current UserId of liferay in JBPM

New Member Postagens: 20 Data de Entrada: 20/12/09 Postagens Recentes
Hi,
I'm using JBPM4 and Liferay 6.0.5 and JBOSS 5.1
There is a java node in my process definition same

<java class="test.JavaNodeHandler" method="run" g="223,94,173,52" name="RegisterData" >
</java>

I want to get current userId of liferay and current AssetId. How can I get them in run method ?

it seems that no object pass to "run" method. I'm wondering how can we get such data

would you please guide me?

Thanks