You are here: Integration > Integration Services category > Service JSR94 rules > Service JSR94 rules- Completing the New or Save As form

Service JSR94 rules - Completing the Create, Save As, or Specialization form

  1. About
  2. New
  3. Service
  4. Request
  5. Response
  6. Exceptions
  7. History
  8. More...

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You can copy data instances but they do not support specialization because they are not versioned.

Based on your use case, you use the Create, Save As, or Specialization form to create the record. The number of fields and available options varies by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:

This information identifies the key parts and options that apply to the record type that you are creating.

Create a Service Package data instance before creating a Service JSR94 rule; the name of the service package becomes the first key part of a group of related Service JSR94 rules. The class and method name key parts are considered "external" and unrelated to the Pega Platform class and methods, for flexibility.

Create a Service JSR94 rule by selecting Service JSR94 from the Integration-Services category.

Key parts:

A Service JSR94 rule has three key parts:

Field

Description

Customer Package Name

Select a service package name (instance of the Data-Admin-ServicePackage class); this service package groups related Service JSR94 rules. Choose a name already defined by a Service Package data instance. See About Service Package data instances.

Customer Class Name

Enter the name of the service class. This is an arbitrary text value that is a Java identifier, not an instance of Rule-Obj-Class class. See How to enter a Java identifier.

The service package name and service class name group service rules.

Identifier

Enter an identifier for the service method. See How to enter a Java identifier.

This name is an arbitrary text value; it is not an instance of Rule-Method. The service method named describes what the service rule does.

Rule resolution

When searching for a Service JSR94 rule, the system filters candidate rules based on a requestor's RuleSet list of RuleSets and versions.

Circumstance-qualified and time-qualified resolution features are not available for Service JSR94 rules. The class hierarchy is not relevant to Service JSR94 rule resolution.

About Service JSR94 rules