You can use the New Application wizard to build applications in a few minutes with a minimum of technical expertise. The New Application wizard guides you through the process of specifying basic configuration requirements for your application. You can use advanced options to customize the settings to suit your specific design requirements. The system generates the application and its structure to get you started in Designer Studio.
You build an application in four steps:
- Configure your application settings in Step 1: Application settings.
- Define the business objectives in Step 2: Business objectives.
- Add case types to your application in Step 3: Case types.
- Add data types to your application in Step 4: Data types.
This article provides a walkthrough of the process by using a basic scenario. In this scenario, the PCO Loan Company acquired a Purchase Request application that it wants to extend for use in a regional sales office. As the system administrator, you use the New Application wizard to build the implementation application according to your organization's requirements.
Starting the New Application wizard
To start the New Application wizard:
- Click Create new application to start creating an application.
Step 1: Application Settings displays and contains default values.
Specify the following application settings:
- In the Application field, enter a unique name that starts with a letter and can contain alphanumeric characters, ampersands, underscores, or hyphens. This name is displayed in portals, menus, and forms.
For this example, enter: Cambridge Purchase Request.
- Tab out of the field. The name is displayed in the Description field.
In addition, the New Application wizard removes the spaces from the full name to create a short name, which serves as a unique application identifier that the system uses for processing and for naming the application's classes. Application names are truncated because they are key parts to other rules, such as classes and rulesets. This application short name is displayed under the Application field.
- To change the short name, click the name to open the Application short name modal dialog box.
- Enter cambpur, and click OK.
If you intend to extend your application by using the New Application wizard, keep the name as short as possible to avoid exceeding class name character limits. The class name limit is 56 characters. The limit for an application short name is 14 characters.
- Enter a high-level description of the application's purpose and its basic design requirements.
- Review the values in the following fields:
- Built on application – Specifies the application that you want to extend. By default, the application is the one that you are currently working in, Purchase Application. Keep this value.
- Application structure – Indicates how many class layers are created in your application. Keep the default, Framework and Implementation. In addition to the new Cambridge Purchase Request application that you are putting into production, the New Application wizard creates an application that you can extend for reuse elsewhere in the organization. For example, you might want to extend the application for use in other regional offices.
- Organization – Specifies the organization that is associated with the application. By default, this organization is the one defined in your operator ID. This organization value is used to name the organization record, the organization classes, and the organization ruleset. Keep the default, Pco.com.
Adding a division class layer to your application
A requirement for this application states that a layer of division classes must contain rule and data records that can be reused by other applications. A division is the middle level of the three-level organization hierarchy and is available for use in every application. Divisions are below the organization level and above the organization unit level.
To create a division class layer in your new application:
- Click Configure advanced settings, whichis located below the Organization field. The Advanced configuration dialog box opens. Some of the settings that you defined in "Step 1: Application settings" are also displayed in this dialog box. For example, the short name is displayed in the Application record name and the Application layer fields.
- Select the Generate reusable division records check box. This setting displays the Division layer field in the Class structure - Implementation layer section.
By default, the New Application wizard truncates the Division name value to four characters. The Division layer value is used in the division class names and ruleset.
- Click Save to apply your changes.
- Click Next at the bottom of Step 1 to proceed to "Step 2: Business objectives."
Business objectives define the expected business outcomes for the new application. By default, the New Application wizard reuses the values in the built-on application, Purchase Application.
To add a business objective that is specific to the Cambridge Purchase Request application:
- Click Add business objective to add a row and enter an objective.
- Click Next to proceed to "Step 3: Case types."
In this step, you import the case types in the built-on application or ones inherited from other built-on applications (excluding PegaRULES).
- Select the case types to import. In this example, the list includes the top-level case type Vendor Maintenance and all its related subcase types.
- If you do not want to import a case type, clear its check box. However, for this example, import all the case types.
- Click Next to proceed to "Step 4: Data objects."
Use this step to select the data objects in the built-on application, or those inherited from another built-on application, that you want to reuse. The New Application wizard does not generate new data classes. The wizard creates links between the new application and the selected data classes.
In this example, use all the data objects, so do not clear any of the check boxes.
Previewing the application
To preview the class structure that the New Application wizard creates:
- Click Preview. The Application preview dialog box displays the names of the organization, division, framework, and implementation class layers. The Other section includes access group and access role name data items that are created for the new application.
- Expand Cambridge Purchase Request Implementation Layerto display the classes and the ruleset names.
- To preview the case types in the application's work pool, expand Work (Default Work Pool).
- Click Close preview to exit the dialog box and return to step 4.
Creating the application and starting development
When you are satisfied with the class structure, you can create the application.
- Click Create at the bottom of Step 4.
When the New Application wizard finishes creating the application, the Designer Studio home page opens and displays the Application Overview landing page. You can now develop your new application.
- On the Application Overview landing page, develop your application profile in the Details section. Then, use Case Explorer to configure your application's case types and processes.