Adding a work type to a framework and its implementation layer
Enterprises that have a framework and have built an implementation layer on that framework often want to extend both the framework and the implementation by adding work types that directly inherit from the framework. Although you can use the Application Accelerator to add work types to both the layers, the accelerator cannot set up the inheritance between them.
This article describes how you add a work type to the framework layer using the Application Accelerator, and then extend the work type to the implementation layer by configuring rules in the implementation to set the inheritance.
Extending a work type is a two-step process.
- In the first step, you use the Application Accelerator to add a work type to the framework layer.
- In the second step, you configure updates in the implementation layer to extend the work type and inherit it from the Framework.
In this example, the site has a framework named ServiceFW with an implementation named WebService built by the Application Accelerator with one work type called Account Change.
Step 1: Adding a work type to the framework layer
Perform this step in the framework.
- Select the framework as your current application.
- Open a new instance of the Application Accelerator, and select the Update Existing Framework option.
- Set the value of the Existing Implementation Name and Version to your framework and version.
- In the Make Changes field, select Current Version or New Version.
- Click OK.
- On the Create Processes tab, select the Add a work type option.
- Add the work type and any other work type information you want to define the work type, such as use cases, requirements, and a discovery map.
- On the Review Application tab, click Build the application to add the work type and a starting flow to the framework.
The Application Accelerator overview
The Create Processes tab
Resulting display of the framework
Step 2: Extending the work type to the implementation layer and setting inheritance
In this step, you do three configuration tasks in the implementation layer.
- Create a corresponding work class that inherits from the work class in the framework.
- Create a starting flow in the corresponding work class that calls the starting flow for the work type in the framework.
- Update the application rule to reference the work type and work class.
Creating a corresponding implementation work class
- Copy an existing work class or add a new work class for the new type.
- In the Class Inheritance section of the General tab, select the corresponding framework class as the parent class.
- Click the Save icon to save the class.
Creating a starting flow in the class
Create a starting flow in your new implementation class.
- Set the Applies To value to the class you created for the work type.
- On the Diagram tab, right-click the starting shape to display its properties panel. Enter the same name as the framework flow and reference it as the name of the Flow rule.
- On the Process tab, select the Creates a new work object? check box to mark it as a starting flow.
- Click the Save icon to save the flow.
Adding the work type to the Application rule
- Display the Application rule form for the implementation.
- In the Work Types section of the Details tab, click the Plus icon to add a row.
- Enter the work type in Name field, and select the Implementation Class that you added to the implementation.
- Click the Save icon to save your changes.
Resulting configuration
After you complete these steps, the resulting framework and implementation layers should look similar to the following example.
Previous topic DCO 6.2 and 6.3 - Working with Application Use Cases and Requirements Next topic DCO 6.1 - About the Direct Capture of Objectives