On Mon, Jul 22, 2013 at 05:27:17AM -0700, Sajesh Nair wrote:
>
> We have a business scenario where we have to tweak the existing work flows
>  work item.

Hello Sajesh,

welcome to the ruote mailing list.

Unfortunately, your questions are very vague.

I will reply vaguely, hoping you'll understand.


> Say for example:
>
> 1. I have to modify the one work item/ create a new work item to
> an existing work flow without disturbing any of the existing items.

To modify a workitem you generally hand it to a participant (human or
computer).

You can't add a workitem to an existing workflow, unless, but it's rare, you
use something like "add_branch":

  http://ruote.rubyforge.org/exp/concurrent_iterator.html

(second paragraph to the end).


> 2. If a condition says it should only go to the 1st workflows work item if
> its value is <$1000 else set auto true and move to next workflow.

I don't know what you mean by "move to next workflow".

Maybe something like:

```ruby
Ruote.define do

  participant "sajesh", :task => 'determine value'

  participant "rajesh"
  terminate :if => '${value} < 1000'

  participant "ganesh"
  # ... the rest of the workflow
end
```

This flow will stop after "rajesh" if the value is less than 1000.


I hope it helps, best regards,

--
John Mettraux   -   http://lambda.io/jmettraux

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to