Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Manuel Victor Ariel Rodriguez Coria
how can test a workflow with two 2 user like jbpm-console in jboss
10 ottobre 2008 15.50
Risposta

Manuel Victor Ariel Rodriguez Coria

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 7 ottobre 2008

Messaggi recenti

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 ottobre 2008 0.20
Risposta

Ganesh Ram

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 5 febbraio 2008

Messaggi recenti

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 ottobre 2008 20.59
Risposta

Manuel Victor Ariel Rodriguez Coria

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 7 ottobre 2008

Messaggi recenti

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 ottobre 2008 11.05
Risposta

Solo Imr

Punteggio: Junior Member

Messaggi: 38

Data di Iscrizione: 9 ottobre 2008

Messaggi recenti

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 ottobre 2008 11.07
Risposta

Ganesh Ram

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 5 febbraio 2008

Messaggi recenti

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 novembre 2008 20.05
Risposta

Solo Imr

Punteggio: Junior Member

Messaggi: 38

Data di Iscrizione: 9 ottobre 2008

Messaggi recenti

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!