Exporting Business Rule Definitions as Comments

Business Rules definitions, including conditions, actions, functions, and libraries, can be exported as comments using Advanced STEPXML. These exports are intended to be used for submission to external source control systems for comparison purposes. Users can import them into source code repository systems where they can be compared from version to version. Editing and/or import of these files is not supported (e.g., users may not export, edit the comments, and re-import in STEP).

To export business rule definitions for external comparison, Advanced STEPXML must be used and the DefinitionsAsComments tag must be set to 'true.'

On the Select Format step of the outbound tool, choose the Advanced STEPXML format, then copy and paste the following text into the Template field:

<?xml version="1.0" encoding="utf-8"?>
<STEP-ProductInformation DefinitionsAsComments="true">
<BusinessLibraries ExportSize="All"/>
<BusinessRules ExportSize="All"/>
</STEP-ProductInformation>

An example of the output for a business rule definition as comments is shown below:

<BusinessRule...>
<!--Definition:[This will be the business rule definition. Removed for
brevity.-->
[Remaining configuration is included]
</BusinessRule>

Note: The content of the comment field is not part of the STEPXML XSD and therefore Stibo Systems reserves the right to change the format of the output content at any time.

For more information, refer to the STEP-ProductInformation Tag in STEPXML section of the Data Exchange documentation here.