You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/08/16 15:23:58 UTC

svn commit: r431893 - /lenya/trunk/src/pubs/default/config/workflow/workflow.xml

Author: andreas
Date: Wed Aug 16 06:23:58 2006
New Revision: 431893

URL: http://svn.apache.org/viewvc?rev=431893&view=rev
Log:
Added transitions to deactivate a document in authoring + review state

Modified:
    lenya/trunk/src/pubs/default/config/workflow/workflow.xml

Modified: lenya/trunk/src/pubs/default/config/workflow/workflow.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/workflow/workflow.xml?rev=431893&r1=431892&r2=431893&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/config/workflow/workflow.xml (original)
+++ lenya/trunk/src/pubs/default/config/workflow/workflow.xml Wed Aug 16 06:23:58 2006
@@ -61,6 +61,20 @@
     <assign variable="is_live" value="false"/>
   </transition>
 
+  <transition source="review" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
+  <transition source="authoring" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
   <transition source="authoring" destination="trash">
     <event id="delete"/>
     <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org