Hi all,

I have the following (simplified) workflow which is called as a subprocess
in several places in our application:

Ruote.process_definition :name => 'bm_form_multi', :revision => '0.1' do
  cursor do
    sequence do
      wait_for_edit
      concurrence do
        concurrence :forget => true do
          human_action

          cursor do
            wait_for_save
            rewind
          end
        end

        rewind
      end
    end
  end
end # process_definition

The human_action participant waits for a person to fill in a form. The idea
is that several users can fill in the same form in parallel and save their
information at any time (without closing the form). When the user needs to
fill in the form, the front-end application sends a PUT with proceed to the
wait_for_edit participant, which then creates a new branch of the
concurrence for that user to edit.

What I would like to happen is, when the user saves their work, the
front-end should send a PUT with proceed to the wait_for_save participant.
My problem is, the wait_for_save participant needs to communicate its FEI
to the human_action participant so the front-end knows the URI to send the
PUT to.

Any ideas?
-Mario.

--
I want to change the world but they won't give me the source code.

*Mario Camou* | *Co-Founder*
[email protected]
http://abstra.cc

Tanto este mensaje como todos los posibles documentos adjuntos al mismo,
son confidenciales y están dirigidos exclusivamente a los destinatarios de
los mismos. Por favor, si Usted no es uno de dichos destinatarios,
notifíquenos este hecho y elimine el mensaje de su sistema. Queda prohibida
la copia, difusión o revelación de su contenido a terceros sin el previo
consentimiento por escrito de “ABSTRA CC FACTORIA SOFTWARE, S.A.”. En caso
contrario, vulnerará la legislación vigente. Sus datos figuran en un
fichero propiedad de "ABSTRA CC FACTORIA SOFTWARE, S.A.". Si desea acceder
a sus datos, rectificarlos, cancelarlos u oponerse a su tratamiento,
diríjase por escrito a "ABSTRA CC FACTORIA SOFTWARE, S.A.", C/ Boix y
Morer, 6, 7 planta de Madrid, CP-28003.

Both this message and all possible documents attached to it, are
confidential and are intended exclusively to recipients of them. Please, if
you are not one of those recipients, notify us of this fact and delete the
message from your system. Copying, dissemination or disclosure of their
contents to third parties without the prior written consent of "ABSTRA CC
FACTORIA SOFTWARE, S.A." is prohibited. Otherwise, you violate the
legislation in force. Your data are contained in a file property of "ABSTRA
CC FACTORIA SOFTWARE, S.A.". If you want to access your data, rectify them,
cancel them or oppose its processing, submit in writing to "ABSTRA CC
FACTORIA SOFTWARE, S.A.", C/ Boix y Morer, 6, 7 floor Madrid, CP-28003.

-- 
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