Hi,

I've been looking for a few hours and can't seem to find what is probably 
very basic.

I would like to report on all the processes that are currently in a 
particular state.

For example, given this process defintion

    p = Ruote.process_definition :name => 'Transfer' do
      sequence do
        reviewer :task => 'verify information', :description => 'Verify 
basic information'
        approver :task => 'assign transfer', :description => "Select the 
location"
        reviewer :task => 'confirm transfer', :description => 'Admin 
approval or denial.'
        email_system :task => 'email approval letter', :if => '${f.state} 
== approved', :description => 'Approval email'
      end
    end

I would like to know how many processes are waiting to have information 
verified, a transfer assigned, or a transfer confirmed.

Eg.

verify information: 20,
assign transfer: 30,
confirm transfer: 40

It seems that using the by_field method in storage participant helps me 
achieve this outcome but I can't figure it out. It seems like this is 
pretty straightforward stuff. What am I missing?

Really enjoying Ruote and all the efforts put into the project!

Sincerely,
Damon

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