Service Java form
|
Use the Service tab to identify the activity that this Service Java rule calls.
Field |
Description |
Primary Page | |
Page Class |
Select the Applies To class (the first key part) of the service activity that this Service Java rule is to call. |
Page Model |
Optional. Select a model for the class entered in the Page Class field. The system applies the model immediately after it creates the page. |
Page Name |
Enter the name of a top-level clipboard page to represent the class you selected in the Page Class field. This value names the primary page of the service activity you specify in the Activity Name field. Enter any page name, or accept the default value MyServicePage. (This page name has no special characteristics.) BUG-4561 |
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 object in a flow, or perform a flow action on an existing work object. 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 object 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 | |
End requestor when done? |
When the services in the service package are stateful, select to have the system end the requestor after the activity completes and the response is sent. This option applies only when the Processing
Mode field on the service package data instance is set
to |
Method is read-only |
Leave cleared 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. |
Execution Mode |
5.4 Proj-318 Select one of the following options:
For more information, see Pega Developer Network articles PRKB-25029 How asynchronous service processing works and PRKB-25030 How to create a service that processes requests asynchronously. |
Request Processor |
5.4
Proj-318 If you select Execute
asynchronously in the Execution Mode
field or you configure a |
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.PROJ-311 |