Application DesignData Service Block: Repeat for All Rows

In a business rule designed in the Configurator, you can add a Repeat for All Rows component block to perform actions in relation to each row in the result of a query of a JDBC data service. You can specify a list of component blocks to be run each time a row is processed.

Tip: Before you can add a component block to a business rule, you must create a component set by specifying a trigger that controls when component blocks in the component set are run.

Property Description

Data Service

The fully-qualified path to an existing data service in Loftware Enterprise SP.

Tip: You can use the Relative Path check box to control whether the path is represented as an absolute path or a relative path. Using a relative path may be helpful if an object is likely to be transferred to a different Loftware Enterprise SP instanceClosed A Loftware Application Server and a Loftware Database Server that are associated with each other by a Loftware Enterprise - SP License.. The check box is available to select after the object has been saved for the first time. For more information, see Relative Paths.

Use Parameters?

Whether to add parameters for use in the data service.

Note: This functionality is comparable to editing the data service in Data Services Data Services and adding parameters. However, the parameters exist only when this business rule is used to run the data service.

Tip: You can use a parameter to define the query to be run by the data service.

Tip: You can add or remove parameters by clicking Add or Remove.

Parameter Name

The name (key) of a parameter that can be used in the data service defined in Data Services Data Services. For a list of built-in parameters, see the section following this table.

Parameter Value

A print job property or the name of a data map entry to be used in the data service. Also, whether to interpret it as a literal value or as a data map entry. If the data map entry does not already exist, it is created.

You can select from the following for a data ref.

Rule Action

The list of component blocks to be run when a row returned by the data service is processed. You can add a component block by dragging it from the Insert tab dropping it onto a Drop block here marker within this component block.

Built-in Parameters

ClosedJDBC Data Service Parameters

ClosedFile Data Service Parameters

ClosedHTTP Data Service Parameters

ClosedSOAP Web Service Data Service Parameters