Use REST data sources in a Ruleflow
- Last Updated: July 2, 2019
- 2 minute read
- Corticon
- Documentation
A Ruleflow could use several REST connectivity service callouts to enrich data before and after other processing steps. The sample uses one REST connectivity callout.
To use REST service callouts:
- In a Ruleflow where you want to use a REST Service connection,
add a Service Call-out to the Ruleflow canvas. In this example, the Ruleflow has
a single call-out Get Rates to retrieve rate data from
the REST service and a Rulesheet which produces rule messages from the rate
data, as shown:

- Click on the Get Rates object, and then, on the object's Properties tab.
- On its Service Call-out tab, click the
Service Name pulldown to select the read-only
service you want for this use,
CorticonREST.importData. The import will create new entity instances for the data returned. The alternative, retrieve, would update existing entity instances. The alternative,CorticonREST.retrieveData, will be used later in this sample run. - Click the Runtime Properties tab:


- In the Property column, click on Datasource Name. Choose the Datasource that corresponds to the name of the appropriate REST Service definition. For the REST Service sample, choose Rate Data.
- Select Primary Entity, and then, for its value, use the dropdown menu to select the appropriate Vocabulary Entity. For the REST Service sample, choose ReimbursementRates.