On Tue, Nov 25, 2008 at 12:46 PM, Kenneth Kalmer
<[EMAIL PROTECTED]> wrote:
>
> ruote-rest is working great, and I'm currently writing a thin HTTParty
> wrapper to launch processes and manipulate work items. All
> participants at this stage of the match is still the default
> ActiveParticipant setup by ruote-rest. I'll get to the XMPP
> participant at the office.
>
> Now since we're catering for a large number of users, couple hundred
> direct and several thousand indirect, and most of them would somehow
> be affected by the workflows, I'm wondering how to best use
> participants and search for work items.

Neat, I'm looking forward to your feedback.

> Currently I'm toying with
> having participants that match the roles in our system, but loading
> all the work items and filtering based on a specific attribute seems
> overkill. A thought that krept into my head over breakfast was pass
> our process definitions through ERB and dynamically build the
> participant names each time we launch a process.
>
> Is this sane? Or is there a better way to let ruote-rest/ruote search
> for work items matching a specific participant AND attributes. I've
> found the RDOC's and will continue checking out the
> OpenWFE::Extras::WorkItem code at the office.

The ERB idea is great. You usually launch a process by feeding an
initial payload (launchitem) containing the process definition or
pointing to the process definition. The engine doesn't care if you
point to a static document or a generated one, so it's OK to generate
process definitions on the fly, just point to the right URL.

There is some code in OpenWFE::Extras::WorkItem for "searching"
workitems, maybe it will be sufficient for you, you could even go with
participant_name / store_name only.


Cheers,

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to