Note:Using the sample: The Ruleflow objects
and their runtime properties are already defined in the sample.
To use an ADC connection in a service
callout:
In a Ruleflow where you want to use an ADC connection, create a
Service Call-out object on the Ruleflow canvas. In this example, the Ruleflow is
defined with the project's Rulesheet plus a Service Call-out to read and another
one to write back to the database table after rule processing, as shown: The ADC sample points out that you can have one ADC connection that has
several read and write actions.
Click on the Get Patient Data object,
and then, on the object's Properties tab.
On its Service Call-out tab, click the
Service Name pulldown to select the service you want
for this use, as shown here where the sample uses CorticonADC.read for this service, as illustrated:
On its Runtime Properties tab. Use the
Property pulldown to:
Select Datasource Name, and
then, for its value, use the dropdown menu to select the Datasource that
corresponds to the name of the appropriate ADC definition. For the ADC
sample, choose Patient Data.
Select Query Name, and then,
for its value, use the dropdown menu to select the appropriate query.
For the ADC sample, choose AllPatients. The
listed values are initially imported and are updated by the QUERIES: Import function on the Query tab.