You are here: Reference > Rule types > Service JSR94 rules > Service JSR94 form - Completing the Service tab

Service JSR94 form
Completing the Service tab

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

Use the Service tab to identify the activity that the Service JSR94 rule calls.

Field

Description

Alternate URI

Optional. By default, the Uniform Resource Identifier for this service rule is the three-part key to its name: ServicePackageName.className.methodName. If the external application that calls this rule requires that the URI use a different naming convention, enter the string to use as the URI for this service in this field.
Choose a value that is unique system-wide; you can't enter two different Service JSR94 rules that have a common Alternate URI value.

Primary Page  
Page Class

Select the class of the page that the Pega 7 Platformpasses to the activity as its primary page. This is also the class to which the activity called by the service applies.

Data Transform

Optional. Identify a data transform in the class entered in the Page Class field. The system applies the data transform immediately after it creates the page.

Page Name

Enter the name of the top-level clipboard page that the Pega 7 Platform uses as the primary page of the service activity.

Enter any page name, or accept the default value MyServicePage. (This page name has no special characteristics.)

Service Activity  
Activity Name

Specify the name of the activity that provides the processing for this service rule. For example, the activity can start a work item in a flow, or perform a flow action on an existing work item. This activity is known as the service activity.

The system uses the value you enter in the Page Class field as the Applies To key part of the activity. The system creates a page with the name provided in the Page Name field and passes it to the activity as the primary page. If the Page Name field is blank, the system passes the activity an unnamed page.

If a parameter value is the same for every service request, you can use the Params button to set that parameter's value rather than requiring a client application to supply it in each request. For example, if a service activity starts a flow for a work item and the organization is always the same, specify the name of the organization on this tab.

Parameter values from the incoming request override values set on this tab.

Processing Options  
Method is read-only

Leave unselected in most cases. Select to indicate that each use of this service is not to count as a service invocation under the terms of your license agreement. See Working with the License Compliance facility.

 Integration Viewer

After you save this form, click to view a tree of the components that comprise the service package. See About the Integration viewer.

About Service JSR94 rules