Service JSR94 form - Completing the Response tab

Complete the optional Response tab to map the response data. The data in a JSR 94 response is a single java.util.List object, assembled by the service activity or through mappings on this tab.

Field Description
Result Filter Optional. Enter the fully qualified name of the Java class to use as the default JSR 94 object filter that further constrains the output list before the Pega Platform returns it to the external application. If you specify a value in this field, include the Java class or the .jar file in the Pega Platform class paths.

For information about writing an object filter, see the JSR 94 specification on the Java Community Process website.

Map output list as Choose:
  • item values individually — To indicate that the response is to be assembled using mapping on this tab and when applicable the Exceptions tab.
  • as a single object value — To indicate that the response contains only a single item, or contains multiple items that are assembled to a list by the service activity rather than through mappings defined on this tab. Use this choice only for backwards compatibility with Service JSR94 rules created in PRPC Version 4.X.
Response Parameters Identify the parameters to be returned in the response:
  • If you chose as a single object value for the Map Output List as value, complete only a single row in this array. Enter java.util.List as the Data Type.
  • If you chose item values individually for the Map Output List value, enter a row for each element of the list. Order is significant.
Data Type Enter the Java data type of the item.
Description Optional. Enter a text description of the outgoing Java object.
Map From Specify the source or the type of source for the outgoing item:
  • Clipboard — The system maps the data value from the property specified by the Map From Key field.
  • Constant — The system returns a fixed value.

If more choices appear, they identify a custom function rule in a MapFrom library. Review the function rule to determine what it does.

Map From Key Identify the source of the Map From value:
  • If the Map From value is Clipboard, enter the property name from which to map the data for the response. If the Data Type is java.util.List, choose a property of mode Java Object List or Java Property List. This property can be an embedded Page List property with a page class that inherits from the Embed-Java- class (that is, it is a Java Page), or a property of mode Java Object List.
  • For Constant, enter a literal string. To include blank spaces in the text string, surround the string with double quotes.