Loading...
 
Skip to main content

History: Category_Transition_Demonstration

Source of version: 9 (current)

Copy to clipboard
            This is a profile to demonstrate the ((dev:Category Transition)) feature. This will replace the old ((doc:Galaxia Workflow)) system, in a much more integrated way. Starting in Tiki6, there is a GUI at tiki-admin_transitions.php

To use for wiki pages, simply put a page in the category "In Progress".

It now works for wiki pages, trackers and tracker items. Next step is to make it work with individual files.

To test tracker items, just create a tracker and have a category field. (This should be added to the profile below)



{CODE(caption=>YAML,wrap=>1)}
preferences:
 feature_category_transition: y
 feature_categories: y
objects:
 -
  type: module
  data:
   name: category_transition
   position: right
   order: 1
 -
  type: category
  ref: progress
  data:
   name: In Progress
   items:
    - [ wiki page, HomePage ]
 -
  type: category
  ref: pending
  data:
   name: Pending Approval
 -
  type: category
  ref: approved_by_dev
  data:
   name: Approved by DEV
 -
  type: category
  ref: approved_by_qa
  data:
   name: Approved by QA
 -
  type: category
  ref: approved
  data:
   name: Approved
 -
  type: transition
  data:
   name: Request Review
   type: category
   from: $progress
   to: $pending
 -
  type: transition
  data:
   name: Approve
   type: category
   from: $pending
   to: $approved
   guards:
    - [ exactly, 2, [ $approved_by_dev, $approved_by_qa ] ]
 -
  type: transition
  data:
   name: Reject
   type: category
   from: $pending
   to: $progress
 -
  type: transition
  data:
   name: OK Dev
   type: category
   from: $pending
   to: $approved_by_dev
   preserve: y
 -
  type: transition
  data:
   name: OK QA
   type: category
   from: $pending
   to: $approved_by_qa
   preserve: y
{CODE}
        

History

Information Version
Fri 02 of Sep, 2011 12:26 UTC Marc Laporte clearer 9
Sat 18 of Sep, 2010 17:00 UTC Marc Laporte tiki-admin_transitions.php is nice 8
Thu 29 of Oct, 2009 18:09 UTC Marc Laporte 7
Fri 16 of Oct, 2009 23:25 UTC Marc Laporte Congrats Sylvie 6
Wed 30 of Sep, 2009 01:13 UTC Marc Laporte 5
Tue 29 of Sep, 2009 19:22 UTC Marc Laporte 4
Fri 18 of Sep, 2009 18:14 UTC System Administrator 3
Fri 07 of Aug, 2009 15:47 UTC System Administrator 2
Fri 07 of Aug, 2009 15:34 UTC System Administrator 1
Collapse/expand modules below