Service SAP rules
|
|
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 SAP rule by selecting Service SAP
from the Integration-Services
category.
NOTE: Create a Service Package data instance before creating a Service SAP rule; the name of the Service Package data instance is the first key part of a collection of Service SAP rules.
A Service SAP rule has three key parts. The class and method name key parts are considered "external" and are unrelated to Pega Platform classes and methods, for flexibility. For example, a service that is already exported and deployed on a client computer may be changed to call a different Pega Platform activity. Because the external representation and the WSDL file hasn't changed, you do not need to redeploy and modify the application code on the client computer.
Field |
Description |
Customer Package Name |
Select the name of the service package (instance of the Data-Admin-ServicePackage class); this package groups related Service SAP rules. Choose a name already defined through a Service Package data instance. See About Service Package data instances. |
Customer Class Name |
Enter a class name to logically group related methods. This name need not match the Pega Platform class that the activity belongs to, but must be a valid Java identifier. See How to enter a Java identifier. |
Identifier |
Enter an identifier that describes the function of the Pega Platform activity that the service calls. See How to enter a Java identifier. |
When searching for an SAP 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 SAP rules. The class hierarchy is not relevant to Service SAP rule resolution.