BusinessProcessSpec Element's GeneratesOutput Attribute

Optional. Default value = "false." The GeneratesOutput attribute indicates whether the process generates output via a database table that can be exported later. When this attribute is set to "true" and the spec is loaded into the Catalog System, the system creates an export table. The system appends EXPORTFORMAT to the name of the database table defined within the ParameterTableName attribute. For example, the name coudl be USR_INVENTORYPROCESSEXPORTFORMAT.

To support export formatting, you need to provide a mechanism, such as the data forms that manage the adding and editing of a parameter set, to add a row into the BUSINESSPROCESSEXPORTFORMAT table and your custom export format table (example: USR_INVENTORYPROCESSEXPORTFORMAT). See the trigger TR_EXPORTPROCESS_INSERT on the EXPORTPROCESS tables on an example of how to add a default record into the BUSINESSPROCESSEXPORTFORMAT table.

When your custom business process processing logic code executes and you support export formatting, your code should retrieve data from your custom export format table (example: USR_INVENTORYPROCESSEXPORTFORMAT) and the BUSINESSPROCESSEXPORTFORMAT table to determine the formatting of your data during the output generation.

<BusinessProcessSpec
	xmlns="bb_appfx_businessprocess"
	xmlns:common="bb_appfx_commontypes"
	ID="a28d4f17-53fe-48d9-85bc-37e12884dc00"
	Name="Inventory Process Business Process"
	Description="Business process to get the inventory report for food banks."
	Author="Technical Training"
	GeneratesOutput="true"
	ParameterTableName="USR_INVENTORYPROCESS"
	RecordType="Food Bank" 
	common:SecurityUIFolder="Food Bank\Inventory">

For more details, see the tables within Business Process Subject Area ERD.