1º edge densha with edge WFE-ru
---------------------------------------------
svn propset "openwfe-ruby http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby";
vendor
svn update

Index: config/openwferu_engine.rb
===================================================================
--- config/openwferu_engine.rb  (revisión: 992)
+++ config/openwferu_engine.rb  (copia de trabajo)
@@ -1,6 +1,7 @@

 #$LOAD_PATH << "~/openwfe-ruby/lib"
 $LOAD_PATH << "../openwfe-ruby/lib"
+$LOAD_PATH << "vendor/openwfe-ruby/lib"

 require 'rubygems'


2º rails route defaults
------------------------------
rm public/index.html

Index: config/routes.rb
===================================================================
--- config/routes.rb    (revisión: 992)
+++ config/routes.rb    (copia de trabajo)
@@ -12,7 +12,9 @@
   # You can have the root of your site routed by hooking up ''
   # -- just remember to delete public/index.html.
   # map.connect '', :controller => "welcome"
+  map.connect '', :controller => 'login'


3º Branch Process definition render
For this proccess definittion the render only shows  "case"

class UserCallCenter < OpenWFE::ProcessDefinition
    sequence do
        # The user call to call center and ucc fills the ticket
        _set :field => "subject", :value => "ucc"
        _set :field => "department", :value => "CHANGE ME PLEASE"
        _set :field => "description", :value => "Something
descriptive"
        _set :field => "severity", :value => "low"
        ucc
        #the flow branch depending of department value
        _case do
            equals :field_value => "department", :other_value =>
"sales"
            sales
            equals :field_value => "department", :other_value =>
"stock"
            stock
            equals :field_value => "department", :other_value => "it"
            it
            equals :field_value => "department", :other_value =>
"marketing"
            marketing
        end
        #back to user call center to assure conformity with user
        ucc
    end
end


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