On Mon, Nov 08, 2010 at 10:41:59AM +0900, John Mettraux wrote:
> 
> On Sun, Nov 07, 2010 at 08:40:17PM +0100, Mauro wrote:
> > 
> > The problem is that I don't have any idea on how to start.
> > There is someone that would share the development of this project with me?
> > Just to start.

Mauro,

I'm still waiting for the answers to my questions, but, meanwhile, does this 
process definition make sense ?

https://gist.github.com/667513

---8<---
# I've to make an application to monitor the installation and
# replacement of all the PCs in my company.
#
# The PCs to be replaced are a few hundred.
#
# In practice, the work should take place as follows:
# a number of officers receiving some cards.
#
# Following interviews with users of PCs, the cards are compiled, eg by
# including a list of software that the user needs and that must be
# allocated in the new pc replacing the old, or by entering the name of
# the machine must be configured in the new, the date and time the user
# says to be eligible for when you must replace the PC, etc.. etc..
#
# Once you fill out these cards are viewed by a person and delivered to
# the company responsible for the replacement and installation of new
# pcs.
#
# During this work, replacement of new PCs can arise wrong, for example,
# the user will not be found, or some problem occurs during installation
# and other contingencies of any kind.
#
# If the work is done, the company regularly inform the responsible the
# ok, otherwise the work is suspended or canceled or postponed
# at another time.

Ruote.process_definition 'pc replacement' do

  sequence do

    manager :task => 'select user and officer'
    participant :ref => '${officer}', :task => 'interview pc user'

    cursor do
      supplier :task => 'schedule interview with pc user'
      supplier :task => 'replace pc'
      rewind :if => '${user_not_found}'
    end

    manager :task => 'review installation report'
  end
end
--->8---

It's derived from your description at 

  
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/8c34f2b3c5d730dc


Best regards,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to