Tham khảo tài liệu 'quản lý cấu hình web - part 21', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | WCM Workflows Step 1 Create a Task Model For each task in the Process Definition as defined by task elements it is possible to associate a task description. The description specifies information that may be attached to a task that is properties name and data type associations name and type of associated object and mandatory aspects. A user may view and edit this information in the Task dialog within the Alfresco Explorer. The Task Model is expressed as a Content Model as supported by the Data Dictionary. To create a Task Model create a new Content Model file for Process Definition with the .xml extension. Define a Content Model name Create a Type for each task Define Properties Define and add Aspects to a Type Define a Content Model name Create a new Content Model for the Process Definition. Define the namespace of the model. XML namespaces provide a method for avoiding element name conflicts. If you want to use any other model s task aspect or association then you can use it by importing their namespace. Reusability of Task Model is possible. xml version encoding UTF-8 model name bookwcmwf workflowmodel xmlns http model dictionary imports import uri http model wcmworkflow prefix wcmwf import uri http model bpm prefix bpm imports namespaces namespace uri http prefix bookwcmwf namespaces model Create a Type for each task For each task we have to define a Content Type. The Type can also be extended as follows types type name bookwcmwf submitReviewTask parent wcmwf startTask parent type types ---------------------------------- 182 ---------------------------------- Download from Wow eBook Chapter 5 Define Properties Within each Type describe the Properties and Associations information required for that task. Properties can also be inherited from other task definitions. Using the previous example all the properties of wcmwf startTask will be added to this Type. type name .