Back Forward About the Application Express tool

The Application Express lets you quickly create and prototype a starter application for experimentation, demonstration, and learning with a minimum of input values.

Although the result of the Application Express is a working application, the class structure of that application is not suitable for broad use across an enterprise. To create an application suitable for enterprise-wide use, use the Application Profiler and Application Accelerator.

Creating a new application using the Application Express

To create a new application using the Application Express:

  1. From the application menu, select New Application > Application Express. After the system displays the introduction screen, click Create New Application.
  2. Enter a name for the application.

    When the system generates the starter set of elements for the application, it uses this name for the initial process and case name. Enter a name that reflects the business purpose that the application fulfills; for example Equipment Request or Book Publish Request.

  3. Use the Built on Application drop-down list to specify the base upon which you want to build the application. Select an item from the list.
    • PegaRULES — The default. Select this choice to build a typical PRPC application.
    • PegaDM — Select this choice to build a typical PRPC application with decisioning features.
    • framework_name — Select the name of a framework to build an application that extends that framework. The Built on Application drop-down list includes all of the frameworks available in your system.

      When you select a framework that has more than one version available, use the Built on Application Version field to select the version upon which you want to build your application.

  4. Optional: Enter a title and description of the project in which this application is being developed.

    If you do not supply an entry, the system uses default values based on the application name. Typical project titles are the name given to the project by the sponsoring organization (Transform Publishing Phase 1) or the organization's code name for the project (such as Green Publishing).

  5. Click Create.

When you click Create, the system begins generating the necessary elements that seed the initial base of the application. When the elements are created, the Designer Studio portal refreshes with the newly created application as the current application, and displays a message indicating successful creation of the new application. Click OK to dismiss the message. The Designer Studio displays the Profile Explorer and Case Designer landing page with the newly created case type selected.

The following image shows an example of the Designer Studio display when creating an application with the name Book Publish Request. Note:

To see the class and rule structure initially created, select the Application Explorer in the Explorer area and expand the tree structure.

When you build on a framework, the case types, work classes, and supporting types from the framework are copied into the generated application. For example, the framework's case types appear in the Case Designer.

Next steps

After your new application appears in the Designer Studio, you can evolve it further:

System actions when you save a flow in draft mode

To make it easy to rapidly prototype and experiment in an application created by Application Express, when you're working in such an application, the system automatically performs certain actions whenever a flow in draft mode is saved. The system updates various values, creates new rules, and replaces existing rules (if any) according to the following descriptions:

System action:

Occurs when:

Generates a new pyWorkDetails section in the appropriate Applies To class (replacing any existing one in that class).

pyWorkDetails is initially created the first time you open the properties for a human-based or connector flow shape and click OK in the dialog (saving any default or updated values), and then save the flow. It is regenerated at each subsequent flow save.

Note: If you manually update the pyWorkDetails section, the system overwrites your changes when it regenerates the section rule at the next flow save.

Generates a new pySetFieldDefaults data transform in the appropriate Applies To class (replacing any existing one in that class).

Whenever changes to the process or its specifications warrant updates to the corresponding pySetFieldDefaults data transform.

For each human-based or connector (flow action) flow shape:

Generates a flow action and related section rules, with names that correspond to the values specified in the properties dialog associated with the shape.

Exception: If you manually create or update a flow action rule or section rules that are associated with a flow shape through its properties, the system preserves those manually updated rules. For example, if you use the Application Explorer to open a section's rule form and directly update and save it, and then save the flow that has a shape that references a flow action with that section, the system does not regenerate the section rule.

When you open the properties for a human-based or connector flow shape and click OK in the dialog (saving any default and updated values), and then save the flow.

For each human-based flow shape with fields (specified using the Fields tab in the shape's properties):

Generates the appropriate underlying rules.

Exception: If you manually create or update a flow action rule or section rule that is associated with a flow shape through its properties, the system preserves the existing settings on the Fields tab for that flow shape. As a result, when you open the properties for the shape, you cannot update the fields using the Fields tab. To update the fields in this situation, you must update the associated section or flow action directly.

When you open the properties for a human-based flow shape, specify fields on the Fields tab, and click OK in the dialog (saving any default and updated values).

When a flow is not in draft mode, the system does not perform the above automatic actions upon save of the flow. To avoid the described automated changes while working in an application created by Application Express, remove the flow from draft mode.

Related topics application, draft mode, RuleSet, DCO
Topic Designer Studio — Using the Application menu

Up Tools for Application tasks