Hello,

I have a couple of questions about concurrence,variable and the listen
expression.

Back story
I have a process below used for contract approval. Once the contract
is submitted it goes to  an attorney and then to two approvers who are
both required. The two approvers need to be able to submit questions
back to the attorney or two each other. If a question is submitted
then we need to send a email to all parties with the current "thread"
for the discussion. When a workitem is created we send emails to the
participants with the ide to access the workitem. We don’t want to
change the workitem untill we have captured the approval, so that we
do not have to issue them a new token to access the workitem.

I can see several ways that we might approach the problem, but they
all seem like we are fighting the ruote pattern.

1.) When create the comment we need to a propagate the comment to all
workitems ( should we use a process variable for this ?)
2.) When we  spawn a "comment" email for each participant what should
we use to fire the event if we don’t want to proceed a given workitem.
( listen or cron, etc )

Thanks
Eric Smith
Ruote.process_definition :on_error => "error_handler", :revision =>
"0.1", :name => "JCI Request Contract Approval", :corporation_id => 46
do
  define "error_handler" do
    set :_model => "Error"
    participant "[email protected]", :task => "process ${wfid}
has gone ballistic"
  end
  set :field => "_matter_id", :value => "693"
  cursor  do
    set :field => "_form_name", :value => "Contract Approval Memo"
    participant  :task => "Submit contract to approvers", :ref =>
"[email protected]", :mailer => "approval_requested", :form_name
=> "Contract Approval Memo", :intake_manager => true
    concurrence  :count => "2" do
      participant  :task => "Review Contract", :ref => "jpgilman
[email protected]", :mailer => "approval_required"
      participant : :task => "Review Contract", :ref => "jpgilman
[email protected]", :mailer => "approval_required"
    end
    participant  :task => "Sign Contract", :ref => "$
{f:signatory}", :mailer => "signature_requested", :form_name =>
"Contract Approval Memo", :intake_manager => true
  end
end

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