Exporting a Business Rule

You can export business rules from TIBCO BusinessEvents WebStudio to rule template instance file.

A business rule in a project is identified by the .ruletemplateinstance file extension. The rule template instance file is generated when the BuildAndDeploy option is selected for the business rule in approvals. See Generating and Deploying the Business Rule’s Rule Template Instance for more details.

The sample file content of the exported rule template instance file is:

<?xml version="1.0" encoding="UTF-8"?>
<RuleTemplateInstance id="738cd4ea-8569-4744-aa86-fb88a89bf0a3" implementsPath="/Rule_Templates/Applicant_PreScreen">
    <actions/>
    <binding id="minimumIncome" value="5000"/>
    <binding id="minimumAge" value="25"/>
    <binding id="creditType"/>
</RuleTemplateInstance>

Procedure

  1. Open the Export dialog box in either of the following ways:
    • Select the business rule and in the Tools tool bar, click the Export icon .
    • Right click the business rule in the Group Contents section and select Export.
  2. Navigate to the directory in which you want to save the rule template instance file and provide a file name.
  3. Click Save.
Related reference