Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Manuel Victor Ariel Rodriguez Coria
how can test a workflow with two 2 user like jbpm-console in jboss
10 de octubre de 2008 15:50
Respuesta

Manuel Victor Ariel Rodriguez Coria

Ranking: New Member

Mensajes: 14

Fecha de incorporación: 7 de octubre de 2008

Mensajes recientes

I make a workflow with 2 users for his different tasks ... copy and save the definition in add definitions...this ok..

now i want test buts i want to now how create the user in liferay????

...somebody tellme in Enterprise Admin buts when i go to create the user this says Enterprise Admin is temporarily unavailable.??

i think that liferay 5.1.1 this module is wrong..so i installl liferay 5.1.2 buts the workflow module not here ??

well the only think that i want is to now ...how can test a workflow with two 2 user like jbpm-console in jboss with login ...

if can respond the other question this is good to me emoticon
Ganesh Ram
RE: how can test a workflow with two 2 user like jbpm-console in jboss
13 de octubre de 2008 0:20
Respuesta

Ganesh Ram

Ranking: Regular Member

Mensajes: 201

Fecha de incorporación: 5 de febrero de 2008

Mensajes recientes

The workflow portlet is available in the LR-plugins. It has been moved here.
You can do an svn checkout from here

Create users(requestor and approver) using the Enterprise Admin.
Make note of their userIds and companyIds.
Assuming you make use of the holiday_definition Business Process, modify the BP accordingly. For testing I used the same user as requestor and approver.

Use this as a sample.
 1
 2
 3<swimlane name="requestor" >
 4<assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
 5            <type>user</type>
 6            <companyId>10109</companyId>
 7            <id>10134</id>
 8        </assignment>
 9</swimlane>
10    <swimlane name="approver">
11        <assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
12            <type>user</type>
13            <companyId>10109</companyId>
14            <id>10134</id>
15        </assignment>
16    </swimlane>


Thats it !!!
Manuel Victor Ariel Rodriguez Coria
RE: how can test a workflow with two 2 user like jbpm-console in jboss
13 de octubre de 2008 20:59
Respuesta

Manuel Victor Ariel Rodriguez Coria

Ranking: New Member

Mensajes: 14

Fecha de incorporación: 7 de octubre de 2008

Mensajes recientes

thanks very much....with your reply i never learn about this.....in this little time in liferay i cant find a document o wiky for work with workflow with many users...I Hope a wiki for describe this and more thinks about workflow....even today i cant find a workflow plugin emoticon
...well now I work with 5.1.1 .....

thanks emoticon
Solo Imr
RE: how can test a workflow with two 2 user like jbpm-console in jboss
21 de octubre de 2008 11:05
Respuesta

Solo Imr

Ranking: Junior Member

Mensajes: 31

Fecha de incorporación: 9 de octubre de 2008

Mensajes recientes

Hi Ganesh Ram.
The sample work ok.

But change "<id>[..]</ id>" with "<name> [...] </ name>" does not work,
1
2<swimlane name="approver">
3     <assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
4        <type>user</type>
5        <companyId>10109</companyId>
6        <name>lotti@liferay.com</name>
7     </assignment>
8  </swimlane>


And <type>role</type> neither work emoticon
1
2<swimlane name="approver">
3     <assignment class="com.liferay.jbpm.handler.IdentityAssignmentHandler" config-type="field">
4        <type>role</type>
5        <companyId>liferay.com</companyId>
6        <name>Rol Test Holiday</name>
7     </assignment>
8  </swimlane>


What am I doing wrong?
(sorry for my english)
Thanks
Ganesh Ram
RE: how can test a workflow with two 2 user like jbpm-console in jboss
23 de octubre de 2008 11:07
Respuesta

Ganesh Ram

Ranking: Regular Member

Mensajes: 201

Fecha de incorporación: 5 de febrero de 2008

Mensajes recientes

Did you try with the websale_definition.xml ?
It has the type as user , community.
You should try this.
Solo Imr
RE: how can test a workflow with two 2 user like jbpm-console in jboss
16 de noviembre de 2008 20:05
Respuesta

Solo Imr

Ranking: Junior Member

Mensajes: 31

Fecha de incorporación: 9 de octubre de 2008

Mensajes recientes

hi!
I am using: holiday_definition.xml.
liferay-portal-5.1.1
jbpm-web-5.1.1.1.war
mule-web-5.1.1.1.war
JBossAS 4.2.3

With <type>user </type> is ok. But <type>role</role> does not work.

I tested from one browser: http://liferay.com.10129:qUqP5cyxm6YcTAhz05Hph5gvu9M=@localhost:8080/tunnel-web/secure/axis/Portal_UserService .

( "10129" userId Admin ; "qUqP5cyxm6YcTAhz05Hph5gvu9M=" password encrypted )

the response is:
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...

I don't know what should i do to get this work

Thanks!