Hi Pranav,
please define the meaning of "make user go ahead"...
> The problem is when I register two or more participants. It says
> process launch failed. Although it prints the messages written in
> these participants.
I don't understand. Are you implying flatly that adding participants
to your engine by editing config/initializers/participants.rb and
restarting the web application makes any subsequent process launch
fail ?
> I checked the production logs. There seems to be no indication of any
> error.
Did you check log/production.log and log/ruote_production.log ?
> So if I remove the participants(and keep single participant) from
> participants.rb, the same process gets launched.
> I am not sure as to what needs to be written there.
> It would be of great help if you could suggest how could I deal with
> problem and successfully "proceed" through a simple LeaveRequest
> "sequence" example.
Please read this text : http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Then provide me with detailed steps on how to reproduce your issue.
Best regards.
--
John Mettraux - http://jmettraux.wordpress.com
...
> What I meant by "make user go ahead" was - Once I hit the proceed
> button the workitem is cleared from my workitems list but the control
> still seems to be in the same participant and the next user/
> participant in sequence does not receive any workitem. This is not the
> case if I have the user/participant(only one) registered in config/
> initializers/participant.rb
Does the process page (http://localhost:3000/processes/{wfid} where
wfid is the workflow isntance id of your process) indicate an error in
the process ?
> Secondly, if I have two or more participants registered.. I am not
> able to launch the process definition any more.
Please define "not able to launch the process definition any more". Do
your arms suddenly fall ?
> I checked log/ruote_production.log. I could not site any error
> messages there.
> Steps that I am following -
>
> 1. Create users
What are their names ?
> 2. Change values of assistant and boss in the leave_request1.rb file
> to the newly created user
> 3. Register participants in config/initializers/participant.rb
Please paste copy of participants.rb after "registration".
> 4. Launch the process with user corresponding to employee..
It seems you are describing two issues here, the problem is that you
are mixing the descriptions. Furthermore your descriptions are very
vague.
If you really want help please remember that a) I'm not sitting next
to you b) I can't read your mind c) I'm an engineer...
Quick note : you don't have to register participants for users.
Creating a group or a participant immediately allocates a "virtual"
participant for that person / group of persons.
You shouldn't need touching config/initializers/participants.rb
Does the process list an error ?
(cf http://groups.google.com/group/openwferu-users/msg/a7f35c40ef12d84e )