Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 28th, 2012  |  syntax: None  |  size: 2.40 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.         <!-- Definition of new Model -->
  3. <model name="scwf:workflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
  4.         <!-- Optional meta-data about the model -->
  5.         <description>Newshore Workflow model</description>
  6.         <author>Erik M. Giraldo G.</author>
  7.         <version>1.0</version>
  8.         <!-- Imports are required to allow references to definitions in other models -->
  9.        
  10.         <imports>
  11.                 <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
  12.                 <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm" />
  13.                 <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
  14.         </imports>
  15.                 <!-- Introduction of new namespaces defined by this model -->
  16.                 <namespaces>
  17.                         <namespace uri=" http://www.newshore.com/model/workflow/1.0" prefix="scwf" />
  18.                 </namespaces>
  19.                 <types>
  20.                         <type name="scwf:submitReviewTask">
  21.                                 <parent>bpm:startTask</parent>
  22.                                 <mandatory-aspects>
  23.                                         <aspect>scwf:thirdPartyReviewable</aspect>
  24.                                 </mandatory-aspects>
  25.                         </type>
  26.                         <type name="scwf:adminReview">
  27.                                 <parent>bpm:workflowTask</parent>
  28.                                 <overrides>
  29.                                         <property name="bpm:packageItemActionGroup">
  30.                                                 <default>read_package_item_actions</default>
  31.                                         </property>
  32.                                 </overrides>
  33.                                 <mandatory-aspects>          
  34.                                 <aspect>scwf:nada</aspect>                                             
  35.                         </mandatory-aspects>
  36.                         </type>
  37.                         <type name="scwf:revise">
  38.                                 <parent>bpm:workflowTask</parent>
  39.                                 <overrides>
  40.                                         <property name="bpm:packageItemActionGroup">
  41.                                                 <default>edit_package_item_actions</default>
  42.                                         </property>
  43.                                 </overrides>
  44.                         </type>                                                                
  45.                 </types>
  46.                
  47.                 <aspects>
  48.                 <aspect name="scwf:thirdPartyReviewable">
  49.                         <title>Someco Third Party Reviewable</title>
  50.                         <properties>
  51.                         <property name="scwf:reviewerEmail">
  52.                                 <type>d:text</type>
  53.                                 <mandatory>false</mandatory>
  54.                                 <multiple>false</multiple>
  55.                         </property>
  56.                         </properties>
  57.                 </aspect>
  58.                 <aspect name="scwf:nada">
  59.                         <title>Node reference</title>
  60.                         <properties>
  61.                         <property name="scwf:nadatexto">              
  62.                                 <type>d:text</type>    
  63.                                 <default></default>                      
  64.                         </property>            
  65.                         </properties>
  66.                 </aspect>    
  67.         </aspects>
  68. </model>